From 6f3170e8e1307ad5e153de9c4d10e3e0b8b7e2ab Mon Sep 17 00:00:00 2001 From: Linda Wang Date: Tue, 23 May 2017 02:39:25 +0000 Subject: Call fetch_os_creds.sh from $PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Depends-On: Ic77f4e46d6d3396f9891b73105a0eb7aa037754f JIRA: FUNCTEST-829 Change-Id: Ief821b7326e0a6c2bbcab31bb21629455e4bc9ea Signed-off-by: Linda Wang Signed-off-by: Cédric Ollivier --- functest/cli/commands/cli_os.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'functest/cli') 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.." -- cgit 1.2.3-korg