setup installation interface ip before regtest
Change-Id: Ic46ccd2506e1598d419d9c8af7268d4e27f82410
This commit is contained in:
parent
8aad3ef970
commit
d8825b2886
@ -7,11 +7,11 @@ if [[ $? -eq 0 ]] ; then
|
|||||||
else
|
else
|
||||||
brctl addbr installation
|
brctl addbr installation
|
||||||
brctl addif installation eth1
|
brctl addif installation eth1
|
||||||
ifconfig eth1 up
|
|
||||||
dhclient -r eth1
|
|
||||||
dhclient -r installation
|
|
||||||
dhclient installation
|
|
||||||
fi
|
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
|
# kill the dhcp service started by libvirt to avoid conflict with dhcpd
|
||||||
killall dnsmasq
|
killall dnsmasq
|
||||||
source compass-core/install/install.conf.template
|
source compass-core/install/install.conf.template
|
||||||
|
Loading…
Reference in New Issue
Block a user