nbd default via the guest network
This commit is contained in:
parent
861b7dd154
commit
b07381f1c3
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ mkdir -p $ROOTFS
|
||||||
modprobe nbd max_part=63
|
modprobe nbd max_part=63
|
||||||
|
|
||||||
# Which NBD device to use?
|
# Which NBD device to use?
|
||||||
NBD=${NBD:-/dev/nbd5}
|
NBD=${NBD:-/dev/nbd$GUEST_NETWORK}
|
||||||
|
|
||||||
# Clean up from previous runs
|
# Clean up from previous runs
|
||||||
umount $ROOTFS || echo 'ok'
|
umount $ROOTFS || echo 'ok'
|
||||||
|
|
Loading…
Reference in a new issue