From b07381f1c36ddf2a0dd5cf538c2e566b523883e6 Mon Sep 17 00:00:00 2001 From: Jesse Andrews Date: Sun, 30 Oct 2011 22:55:45 -0700 Subject: [PATCH] nbd default via the guest network --- tools/build_libvirt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build_libvirt.sh b/tools/build_libvirt.sh index 0564584..de3fb3c 100755 --- a/tools/build_libvirt.sh +++ b/tools/build_libvirt.sh @@ -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'