diff options
author | shuai chen <chenshuai@huawei.com> | 2016-01-27 04:55:26 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-27 04:55:26 +0000 |
commit | b3f7107c54fe9ed9fbb38b6abba65dde5f76670d (patch) | |
tree | 7ab5d80a9515d68952273bcb882a4a1a688b0b0e /deploy/compass_vm.sh | |
parent | ede60ca5e0af8370f0d561f6c3eb90b245b6bd09 (diff) | |
parent | ea87da8bdf478253bcbb6dc1ab1a5b8d2e17e613 (diff) |
Merge "bugfix: prepare python venv" into stable/brahmaputra
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 |