From cf9db8da3354946b7b9c606b5e8673d9d076c4f5 Mon Sep 17 00:00:00 2001 From: Dean Troyer Date: Mon, 3 Oct 2011 13:42:16 -0500 Subject: [PATCH] Configure network for DHCP --- build_pxe_ramdisk.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/build_pxe_ramdisk.sh b/build_pxe_ramdisk.sh index 46eeb05..51220ab 100755 --- a/build_pxe_ramdisk.sh +++ b/build_pxe_ramdisk.sh @@ -101,6 +101,16 @@ if [ "$USE_CURRENT_DEVSTACK" = "1" ]; then cp -pr $CWD $CHROOTCACHE/natty-stack/$DEST/devstack fi +# Configure host network for DHCP +mkdir -p $CHROOTCACHE/natty-stack/etc/network +cat > $$CHROOTCACHE/natty-stack/etc/network/interfaces <