From d8825b288622489653314b64c5be1714e76d4094 Mon Sep 17 00:00:00 2001 From: xiaodongwang Date: Sat, 25 Apr 2015 15:27:36 -0700 Subject: [PATCH] setup installation interface ip before regtest Change-Id: Ic46ccd2506e1598d419d9c8af7268d4e27f82410 --- misc/ci/test-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/misc/ci/test-install.sh b/misc/ci/test-install.sh index f0664017..f16517f7 100755 --- a/misc/ci/test-install.sh +++ b/misc/ci/test-install.sh @@ -7,11 +7,11 @@ if [[ $? -eq 0 ]] ; then else brctl addbr installation brctl addif installation eth1 - ifconfig eth1 up - dhclient -r eth1 - dhclient -r installation - dhclient installation fi + +ifconfig installation 172.16.0.1 broadcast 172.16.0.0 netmask 255.255.0.0 up +ifconfig eth1 up + # kill the dhcp service started by libvirt to avoid conflict with dhcpd killall dnsmasq source compass-core/install/install.conf.template