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:
Serge Hallyn 2013-10-22 11:34:46 -05:00
parent 6bd3f98c46
commit 7a409fd516

View File

@ -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