summaryrefslogtreecommitdiffstats
path: root/lib/post-install-functions.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-04-28 15:47:18 -0400
committerDan Radez <dradez@redhat.com>2016-07-18 08:57:00 -0400
commite415d7b2a2a9349ca2e7c8b8d3fbaa5d4e7dcb57 (patch)
tree4d91cb35c13b575afd95f2de44f4fd19f129281a /lib/post-install-functions.sh
parent73e52458f6f22ec453ec08cc0960d8b8e0ce45fe (diff)
Adding vsperf support
JIRA: APEX-141 Change-Id: I9983ec5583100b7c536524a01e64bb6884b38d1d Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'lib/post-install-functions.sh')
-rwxr-xr-xlib/post-install-functions.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/post-install-functions.sh b/lib/post-install-functions.sh
index 23c83361..ec2ca89f 100755
--- a/lib/post-install-functions.sh
+++ b/lib/post-install-functions.sh
@@ -131,6 +131,12 @@ done
EOI
fi
+ ### VSPERF ###
+ if [[ "${deploy_options_array['vsperf']}" == 'True' ]]; then
+ echo "${blue}\nVSPERF enabled, running build_base_machine.sh\n${reset}"
+ overcloud_connect "compute0" "sudo sh -c 'cd /var/opt/vsperf/systems/ && ./build_base_machine.sh 2>&1 > /var/log/vsperf.log'"
+ fi
+
# Collect deployment logs
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
mkdir -p ~/deploy_logs