X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=deployed-server%2Fscripts%2Fget-occ-config.sh;h=d0cc4dffc553771a18421289fa50f80ca62bba2c;hb=06ec138699b0658b8d005ed900d24c9d72ac8ec7;hp=6c196f972d8ea7be47cccbfce987234312599762;hpb=76c35757c9071dbafbaff1114ec2a2ccdeb388d6;p=apex-tripleo-heat-templates.git diff --git a/deployed-server/scripts/get-occ-config.sh b/deployed-server/scripts/get-occ-config.sh index 6c196f97..d0cc4dff 100755 --- a/deployed-server/scripts/get-occ-config.sh +++ b/deployed-server/scripts/get-occ-config.sh @@ -63,7 +63,7 @@ for role in $OVERCLOUD_ROLES; do rg_stack=$(openstack stack resource show overcloud $role -c physical_resource_id -f value) done - stacks=$(openstack stack resource list $rg_stack -c physical_resource_id -f value) + stacks=$(openstack stack resource list $rg_stack -c resource_name -c physical_resource_id -f json | jq -r "sort_by(.resource_name) | .[] | .physical_resource_id") i=0