diff options
author | carey.xu <carey.xuhan@huawei.com> | 2016-01-27 11:21:41 +0800 |
---|---|---|
committer | carey xu <carey.xuhan@huawei.com> | 2016-01-27 03:29:08 +0000 |
commit | ea87da8bdf478253bcbb6dc1ab1a5b8d2e17e613 (patch) | |
tree | 50c35ffe4d399ac90f0cdb8826112eb6767f56f5 /deploy/compass_vm.sh | |
parent | a9dc63004652d5ea7fa57714d06cfb1b6a9586e2 (diff) |
bugfix: prepare python venv
JIRA: bugfix_python_env
Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
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 |