diff options
author | Dan Radez <dradez@redhat.com> | 2017-01-25 10:14:50 -0500 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2017-02-13 16:55:21 -0500 |
commit | 66386e48403de6c04902ee01cf38c402be02c05e (patch) | |
tree | c4d58d0e6b20f872a12486f0f135bd07de865f54 /lib | |
parent | 6a2aaff3dbf80e91b873d15601c326d7eb194809 (diff) |
Adding tacker support back into Danube
opnfv-tht-pr: 98
opnfv-puppet-tripleo-pr: 11
Change-Id: I971bb2c94eb9500c81b25adf5019fd02f8e90053
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/overcloud-deploy-functions.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index 77778e78..3d718f54 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -53,7 +53,10 @@ function overcloud_deploy { exit 1 fi - + # Enable Tacker + if [ "${deploy_options_array['tacker']}" == 'True' ]; then + DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/enable_tacker.yaml" + fi # Make sure the correct overcloud image is available if [ ! -f $IMAGES/overcloud-full-${SDN_IMAGE}.qcow2 ]; then @@ -256,10 +259,6 @@ EOI echo -e "${blue}INFO: Deploy options set:\n${DEPLOY_OPTIONS}${reset}" ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI -if [ "${deploy_options_array['tacker']}" == 'False' ]; then - sed -i '/EnableTacker:/c\ EnableTacker: false' ${ENV_FILE} -fi - # Create a key for use by nova for live migration echo "Creating nova SSH key for nova resize support" ssh-keygen -f nova_id_rsa -b 1024 -P "" |