summaryrefslogtreecommitdiffstats
path: root/lib/overcloud-deploy-functions.sh
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-08-23 02:37:42 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-23 02:37:42 +0000
commitea1ad48ca5f4ec391b4232fa92ba027119ad2ca7 (patch)
tree9cbf6fd0fc86fce734d4f0ce35610d22ceafc082 /lib/overcloud-deploy-functions.sh
parent5805f11fb10b474b9e6bf8bf31f2bea2806174a2 (diff)
parent9c776d55e9f69de416823acff52017e9ea6ca5a8 (diff)
Merge "correcting the virtual baremetal defaults"
Diffstat (limited to 'lib/overcloud-deploy-functions.sh')
-rwxr-xr-xlib/overcloud-deploy-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index df17750b..ab8086b5 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -180,7 +180,7 @@ EOI
DEPLOY_OPTIONS+=" -e /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml"
# scale compute nodes according to inventory
- total_nodes=$(ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" "cat /home/stack/instackenv.json | grep -c memory")
+ total_nodes=$(ssh -T ${SSH_OPTIONS[@]} "root@$UNDERCLOUD" "grep -c memory /home/stack/instackenv.json")
# check if HA is enabled
if [[ "$ha_enabled" == "True" ]]; then