Enhance completion message when upgrading non controller nodes

This adds a better completion message when upgrading a non
controller node.

Change-Id: I1cd765b1998f059702f0c17ccb67d54f6d5db362
Closes-Bug: 1703792
This commit is contained in:
Carlos Camacho 2017-07-12 11:26:14 +02:00
parent db0f626bed
commit 7bf4edde5d
1 changed files with 8 additions and 1 deletions

View File

@ -27,7 +27,14 @@ DEBUG="true"
SCRIPT_NAME=$(basename $0)
$(declare -f log_debug)
log_debug "$UPGRADE_SCRIPT has completed - moving onto ansible playbooks"
NODE_NAME=\$(cat /etc/hostname)
log_debug "$UPGRADE_SCRIPT has completed on \${NODE_NAME} - moving onto ansible playbooks"
echo "----------------------------------------------------
The TripleO upgrade tasks has completed on \${NODE_NAME}
Moving onto ansible playbooks
----------------------------------------------------"
ENDOFCAT