Set iface name in create_vm script

For now smoke tests fails accoriding to eth0 default
value for public iface in create vm script so we need

to set right name there

Change-Id: I447147385317d0eec672887d66252e56a4997623
This commit is contained in:
Tatyana Leontovich 2016-10-06 17:35:49 +03:00
parent 759f706df9
commit 2cbdb3c68a
1 changed files with 4 additions and 2 deletions

View File

@ -64,8 +64,10 @@ class TestDeployOpenstack(base_test.SystemBaseTest):
underlay.sudo_check_call("pip install python-openstackclient",
host=config.k8s.kube_host)
remote.check_call(
"source openrc-{}; bash fuel-ccp/tools/deploy-test-vms.sh -a"
" create".format(settings.CCP_CONF["kubernetes"]["namespace"]),
"source openrc-{0}; bash fuel-ccp/tools/deploy-test-vms.sh -a"
" create -i {1}".format(
settings.CCP_CONF["kubernetes"]["namespace"],
settings.IFACES['public']),
timeout=600)
@pytest.mark.revert_snapshot(ext.SNAPSHOT.ccp_deployed)