Commit d116264c by Bogdan Purcareata Committed by Stéphane Graber

lxc-busybox: Touch /etc/fstab in the container rootfs

parent e67458e4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment