summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xci/deploy.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/deploy.sh b/ci/deploy.sh
index 504fd507..f08ce524 100755
--- a/ci/deploy.sh
+++ b/ci/deploy.sh
@@ -892,7 +892,7 @@ function undercloud_prep_overcloud_deploy {
compute_nodes=$((total_nodes - 3))
DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/puppet-pacemaker.yaml"
else
- compute_nodes=1
+ compute_nodes=$((total_nodes - 1))
fi
if [ "$compute_nodes" -le 0 ]; then