Here is an example implementation in Python, demonstrating how to mount an RNG script:
# In container config (.lxc.conf) lxc.mount.entry = /dev/urandom dev/random none bind,create=file 0 0 mount rng script hot
LOG_FILE="/var/log/rng_hot_mount.log" RNG_HOST_DEV="/dev/urandom" RNG_TARGET="/dev/random" BACKUP_RNG="/dev/urandom" Here is an example implementation in Python, demonstrating