Lazy unmount guest filesystem after building image, as it still might be busy

This commit is contained in:
Martin Willi 2013-03-22 11:27:37 +01:00
parent 51caeeb161
commit 0ba8842348

View File

@ -65,7 +65,7 @@ do
execute_chroot "update-rc.d bind9 defaults" 0
fi
sync
execute "umount $LOOPDIR" 0
execute "umount -l $LOOPDIR" 0
execute "qemu-nbd -d $NBDEV" 0
log_status 0
done