summaryrefslogtreecommitdiffstats
path: root/deploy/compass_vm.sh
diff options
context:
space:
mode:
authorJustin chi <chigang@huawei.com>2017-02-28 10:51:48 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-28 10:51:48 +0000
commit1fb21b2816b0658b98cc7a7114e65650ffc2bb8f (patch)
tree7e98637afc20d6092497d2003b658631c8bb82d7 /deploy/compass_vm.sh
parent3485de734f87dbd4d99194dedf1b40e7476539f1 (diff)
parent2b5676bc3c3f8f735a57c1d3443cd62e7d3704fd (diff)
Merge "add ntp for compass-core"
Diffstat (limited to 'deploy/compass_vm.sh')
-rwxr-xr-xdeploy/compass_vm.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/compass_vm.sh b/deploy/compass_vm.sh
index 294f2bee..61993716 100755
--- a/deploy/compass_vm.sh
+++ b/deploy/compass_vm.sh
@@ -39,6 +39,7 @@ function set_compass_machine() {
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
+ sed -i "s/timezone:.*/timezone: ${TIMEZONE}/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' 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=$?