diff options
author | shuai chen <chenshuai@huawei.com> | 2016-01-27 04:55:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-27 04:55:20 +0000 |
commit | 3405c4def178cc28ed9c3f7ccc0cc9697dd4a962 (patch) | |
tree | 52bc795bfccf5737640fb2b7fa6a5805ba8ba4ef /deploy/compass_vm.sh | |
parent | 39c96553e2f87ea955ca3cf3e1b20f2ce0f7b16a (diff) | |
parent | 419efdec1f8f6b95580750c684fa1050dd170a9b (diff) |
Merge "bugfix: prepare python venv"
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-x | deploy/compass_vm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh index 196df4a3..394d7c50 100755 --- a/deploy/compass_vm.sh +++ b/deploy/compass_vm.sh @@ -32,7 +32,7 @@ function install_compass() { local inventory_file=$compass_vm_dir/inventory.file sed -i "s/mgmt_next_ip:.*/mgmt_next_ip: ${COMPASS_SERVER}/g" $WORK_DIR/installer/compass-install/install/group_vars/all echo "compass_nodocker ansible_ssh_host=$MGMT_IP ansible_ssh_port=22" > $inventory_file - PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' python /usr/local/bin/ansible-playbook -e pipeline=true --private-key=$rsa_file --user=root --connection=ssh --inventory-file=$inventory_file $WORK_DIR/installer/compass-install/install/$1 + PYTHONUNBUFFERED=1 ANSIBLE_FORCE_COLOR=true ANSIBLE_HOST_KEY_CHECKING=false ANSIBLE_SSH_ARGS='-o UserKnownHostsFile=/dev/null -o ControlMaster=auto -o ControlPersist=60s' ansible-playbook -e pipeline=true --private-key=$rsa_file --user=root --connection=ssh --inventory-file=$inventory_file $WORK_DIR/installer/compass-install/install/$1 exit_status=$? rm $inventory_file if [[ $exit_status != 0 ]];then |