nbd default via the guest network

This commit is contained in:
Jesse Andrews 2011-10-30 22:55:45 -07:00
parent 861b7dd154
commit b07381f1c3

View file

@ -233,7 +233,7 @@ mkdir -p $ROOTFS
modprobe nbd max_part=63
# Which NBD device to use?
NBD=${NBD:-/dev/nbd5}
NBD=${NBD:-/dev/nbd$GUEST_NETWORK}
# Clean up from previous runs
umount $ROOTFS || echo 'ok'