summaryrefslogtreecommitdiffstats
path: root/functest/cli
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-05-23 02:39:25 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2017-05-23 10:17:07 +0200
commit6f3170e8e1307ad5e153de9c4d10e3e0b8b7e2ab (patch)
tree2d0915298377448be96a41d03fe2073311d049e2 /functest/cli
parent2d38d6ddfd88dd04fc3148984de6e633a545a456 (diff)
Call fetch_os_creds.sh from $PATH
Now it's defined as script in releng/modules' setup.py [1] [1] https://gerrit.opnfv.org/gerrit/#/c/35183/ Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Depends-On: Ic77f4e46d6d3396f9891b73105a0eb7aa037754f JIRA: FUNCTEST-829 Change-Id: Ief821b7326e0a6c2bbcab31bb21629455e4bc9ea Signed-off-by: Linda Wang <wangwulin@huawei.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/cli')
-rw-r--r--functest/cli/commands/cli_os.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py
index e54eb423..5e6e1109 100644
--- a/functest/cli/commands/cli_os.py
+++ b/functest/cli/commands/cli_os.py
@@ -67,9 +67,8 @@ class CliOpenStack(object):
if installer_ip is None:
click.echo("The environment variable 'INSTALLER_IP' is not"
"defined. Please export it")
- cmd = ("%s/releng/utils/fetch_os_creds.sh -d %s -i %s -a %s"
- % (CONST.__getattribute__('dir_repos'),
- self.openstack_creds,
+ cmd = ("fetch_os_creds.sh -d %s -i %s -a %s"
+ % (self.openstack_creds,
installer_type,
installer_ip))
click.echo("Fetching credentials from installer node '%s' with IP=%s.."