aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwu.zhihui <wu.zhihui1@zte.com.cn>2016-10-08 14:40:20 +0800
committerwu.zhihui <wu.zhihui1@zte.com.cn>2016-10-08 14:40:20 +0800
commitec01b0595509ea2b8838ed1caed7325e9800706f (patch)
tree0e01365f9707591da203a7d00d51eaea15de1d45
parent62023f676d9801d53dfc1525bebb45f4e88f6fc4 (diff)
change fetch_compute_ips.sh path
Change-Id: I7e3d08adc47304d8174a1706f87e6c4ae430ae34 Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
-rwxr-xr-xdata/fetch_compute_ips.sh (renamed from func/fetch_compute_ips.sh)0
-rw-r--r--func/env_setup.py4
2 files changed, 1 insertions, 3 deletions
diff --git a/func/fetch_compute_ips.sh b/data/fetch_compute_ips.sh
index ebe817a6..ebe817a6 100755
--- a/func/fetch_compute_ips.sh
+++ b/data/fetch_compute_ips.sh
diff --git a/func/env_setup.py b/func/env_setup.py
index f10f8620..ca83f040 100644
--- a/func/env_setup.py
+++ b/func/env_setup.py
@@ -14,10 +14,8 @@ import sys
import time
from collections import defaultdict
from os.path import expanduser
-
import paramiko
import yaml
-
from utils import logger_utils
logger = logger_utils.QtipLogger('env_setup').get
@@ -111,7 +109,7 @@ class Env_setup:
if not installer_ip:
raise RuntimeError("undefine environment variable INSTALLER_IP")
- cmd = "bash ./func/fetch_compute_ips.sh -i %s -a %s" % \
+ cmd = "bash ./data/fetch_compute_ips.sh -i %s -a %s" % \
(installer_type, installer_ip)
logger.info(cmd)
os.system(cmd)