From 419efdec1f8f6b95580750c684fa1050dd170a9b Mon Sep 17 00:00:00 2001 From: "carey.xu" Date: Wed, 27 Jan 2016 11:21:41 +0800 Subject: bugfix: prepare python venv JIRA: bugfix_python_env Change-Id: Ie7f3e295c7c283ff3e805bed13029174c2dda258 Signed-off-by: carey.xu --- deploy/compass_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy/compass_vm.sh') 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 -- cgit 1.2.3-korg