change fetch_compute_ips.sh path 27/22827/1
authorwu.zhihui <wu.zhihui1@zte.com.cn>
Sat, 8 Oct 2016 06:40:20 +0000 (14:40 +0800)
committerwu.zhihui <wu.zhihui1@zte.com.cn>
Sat, 8 Oct 2016 06:40:20 +0000 (14:40 +0800)
Change-Id: I7e3d08adc47304d8174a1706f87e6c4ae430ae34
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
data/fetch_compute_ips.sh [moved from func/fetch_compute_ips.sh with 100% similarity]
func/env_setup.py

index f10f862..ca83f04 100644 (file)
@@ -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)