Merge "Exit overcloud-deploy.sh on provision failure"
This commit is contained in:
commit
cb31cdccd0
@ -32,6 +32,9 @@ done
|
||||
## * Provision the baremetal nodes
|
||||
## ::
|
||||
openstack overcloud node provision --stack overcloud --output {{ working_dir }}/overcloud-baremetal-deployed.yaml {{ working_dir }}/overcloud_baremetal_deploy.yaml
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
{% endif %}
|
||||
|
||||
## * Deploy the overcloud!
|
||||
|
Loading…
x
Reference in New Issue
Block a user