Fix interfaces for quantum
This commit is contained in:
parent
16ade909a9
commit
7578d1576d
@ -146,7 +146,6 @@ class CiBase(object):
|
||||
self.setup_master_node(master_remote, environment.nodes)
|
||||
self.setup_agent_nodes(environment.nodes)
|
||||
only_private_interface(self.quantum_nodes())
|
||||
kill_dhcpclient(self.quantum_nodes())
|
||||
sleep(5)
|
||||
sign_all_node_certificates(master_remote)
|
||||
sleep(5)
|
||||
|
@ -450,6 +450,10 @@ def only_private_interface(nodes):
|
||||
write_config(remote, path, load(root('fuel_test', 'config', 'interfaces_quantum_ubuntu.config')))
|
||||
execute(remote, 'ifup eth0')
|
||||
execute(remote, 'dhclient eth1')
|
||||
if OS_FAMILY == 'centos':
|
||||
execute(remote, 'killall dhclient')
|
||||
else:
|
||||
execute(remote, 'killall dhclient3')
|
||||
|
||||
|
||||
def kill_dhcpclient(nodes):
|
||||
|
Loading…
Reference in New Issue
Block a user