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-1.0.9~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d116264c4a62c61068de17e01bfcd7ab7deececa;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 3cfa9586a..f432ddca0 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in @@ -205,6 +205,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