Skip to content

Commit

Permalink
Merge pull request #914 from brauner/2016-03-23/Purcarea_Bogdan
Browse files Browse the repository at this point in the history
lxc-busybox: Touch /etc/fstab in the container rootfs
  • Loading branch information
Christian Brauner committed Mar 24, 2016
2 parents 173e820 + 6ab1ca0 commit 2871146
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/lxc-busybox.in
Expand Up @@ -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
Expand Down

0 comments on commit 2871146

Please sign in to comment.