amend releng repo bug 23/4923/2
authorMatthewLi <matthew.lijun@huawei.com>
Mon, 21 Dec 2015 07:23:36 +0000 (23:23 -0800)
committerMatthewLi <matthew.lijun@huawei.com>
Mon, 21 Dec 2015 07:27:32 +0000 (23:27 -0800)
JIRA: BOTTLENECK-4

Change-Id: Ia5250a8645760e1b3b2666e34748f529aabe77eb
Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
rubbos/rubbos_scripts/1-1-1/scripts/env_preparation.sh

index 5db473c..fac9403 100755 (executable)
@@ -11,8 +11,8 @@
 set -e
 
 RELENG_REPO=https://gerrit.opnfv.org/gerrit/releng
-RELENG_REPO_DIR=/home/opnfv/repos/releng
-RELENG_BRANCH=master # branch, tag, sha1 or refspec
+RELENG_REPO_DIR=/tmp/opnfvrepo/releng
+#RELENG_BRANCH=master # branch, tag, sha1 or refspec
 
 INSTALLER_TYPE=fuel
 INSTALLER_IP=10.20.0.2
@@ -22,6 +22,10 @@ EXTERNAL_NET=net04_ext
 
 echo "INFO: Creating openstack credentials .."
 
+mkdir -p ${RELENG_REPO_DIR}
+git config --global http.sslVerify false
+git clone ${RELENG_REPO} ${RELENG_REPO_DIR}
+
 # Create openstack credentials
 $RELENG_REPO_DIR/utils/fetch_os_creds.sh \
     -d /tmp/openrc \