From: Bogdan Purcareata Date: Tue, 22 Mar 2016 13:33:57 +0000 (+0000) Subject: lxc-busybox: Touch /etc/fstab in the container rootfs X-Git-Tag: lxc-2.0.0.rc14~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F914%2Fhead;p=thirdparty%2Flxc.git lxc-busybox: Touch /etc/fstab in the container rootfs Signed-off-by: Bogdan Purcareata --- diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in index c020e668b..f547f9ee3 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -330,6 +330,9 @@ configure_busybox() # relink /sbin/init ln $rootfs/bin/busybox $rootfs/sbin/init + # /etc/fstab must exist for "mount -a" + touch $rootfs/etc/fstab + # passwd exec must be setuid chmod +s $rootfs/bin/passwd touch $rootfs/etc/shadow