aboutsummaryrefslogtreecommitdiffstats
path: root/deployed-server
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-27 19:59:32 +0000
committerGerrit Code Review <review@openstack.org>2017-03-27 19:59:32 +0000
commitf1c452fcf672b2543a06576cf55c8eb9e8f2061f (patch)
treedecc7b90820b34bd4e693f2a2caac3ed77ef131a /deployed-server
parent4bd2a9d959a3d745e94224c32e8c9ea5de69f859 (diff)
parentc5e5d21a61808f7c09b85a2750a905bb57b54be1 (diff)
Merge "Sort ResourceGroup resource list"
Diffstat (limited to 'deployed-server')
-rwxr-xr-xdeployed-server/scripts/get-occ-config.sh2
1 files changed, 1 insertions, 1 deletions
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