diff --git a/boxes/debian/lxc-template b/boxes/debian/lxc-template index 0e7cc28..1d7b6c2 100755 --- a/boxes/debian/lxc-template +++ b/boxes/debian/lxc-template @@ -208,6 +208,13 @@ add_ssh_key() fi } +disable_tmp_cleanup() { + rootfs=$1 + chroot $rootfs /usr/sbin/update-rc.d -f checkroot-bootclean.sh remove + chroot $rootfs /usr/sbin/update-rc.d -f mountall-bootclean.sh remove + chroot $rootfs /usr/sbin/update-rc.d -f mountnfs-bootclean.sh remove +} + usage() { cat <