mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 15:27:31 +00:00
lxc-busybox: don't copy temp mounts into mtab
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
6bd3f98c46
commit
7a409fd516
@ -196,7 +196,7 @@ configure_busybox()
|
||||
cat <<EOF >$CHPASSWD_FILE
|
||||
echo "setting root password to \"root\""
|
||||
|
||||
mount --bind /lib $rootfs/lib
|
||||
mount -n --bind /lib $rootfs/lib
|
||||
if [ \$? -ne 0 ]; then
|
||||
echo "Failed bind-mounting /lib at $rootfs/lib"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user