From 58f428fdf5b0688fc5a8c5348154da62e087f769 Mon Sep 17 00:00:00 2001 From: Dan Radez Date: Thu, 30 Jun 2016 11:59:28 -0400 Subject: Adding tacker support opnfv-tht-pr: 34 opnfv-puppet-tripleo-pr: 4 JIRA: APEX-126 Change-Id: I050e7ae2e94779c1886f670841aa4e2dec4aa8d2 Signed-off-by: Dan Radez --- lib/overcloud-deploy-functions.sh | 4 ++++ lib/post-install-functions.sh | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index a08739ab..b0354227 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -197,6 +197,10 @@ if [ "$debug" == 'TRUE' ]; then LIBGUESTFS_BACKEND=direct virt-customize -a overcloud-full.qcow2 --root-password password:opnfvapex fi +if [ "${deploy_options_array['tacker']}" == 'True' ]; then + sed -i '/EnableTacker/\\c EnableTacker: true' opnfv-environment.yaml +fi + source stackrc set -o errexit echo "Uploading overcloud glance images" diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh index ec2ca89f..d0f4da44 100755 --- a/lib/post-install-functions.sh +++ b/lib/post-install-functions.sh @@ -158,6 +158,11 @@ if [ "$debug" == "TRUE" ]; then echo "---------------------------" echo "----------END LOG----------" echo "---------------------------" + + ssh -T ${SSH_OPTIONS[@]} "heat-admin@\$node" <