Created
February 13, 2017 02:54
-
-
Save sfoolish/c5a1f7270bf26e28fce04d92c83cac89 to your computer and use it in GitHub Desktop.
Revisions
-
sfoolish created this gist
Feb 13, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ #!/bin/bash compass_work_dir=$1 if [[ $compass_work_dir == "" ]]; then echo "Please Run: $0 <compass_work_dir>" exit 1 fi cd $compass_work_dir COMPASS_WORK_DIR=$(pwd) export OS_VERSION=centos7 #export OS_VERSION=xenial export OPENSTACK_VERSION=newton export ISO_PATH=${COMPASS_WORK_DIR}/build_output/compass.iso export ISO_URL=file://${ISO_PATH} export DHA=${COMPASS_WORK_DIR}/deploy/conf/vm_environment/os-nosdn-nofeature-ha.yml export NETWORK=${COMPASS_WORK_DIR}/deploy/conf/vm_environment/huawei-virtual2/network.yml export VIRT_NUMBER=5 # export DHA=${COMPASS_WORK_DIR}/deploy/conf/hardware_environment/huawei-pod1/os-nosdn-nofeature-ha.yml # export NETWORK=${COMPASS_WORK_DIR}/deploy/conf/hardware_environment/huawei-pod1/network.yml # export INSTALL_NIC= # unset VIRT_NUMBER export DEPLOY_FIRST_TIME=False export DEPLOY_HOST=${DEPLOY_HOST-"true"} set -e ls $ISO_PATH $DHA $NETWORK set +e ./deploy.sh