Browse Source

Merge "Sort ResourceGroup resource list"

changes/34/450434/2
Jenkins 5 years ago committed by Gerrit Code Review
parent
commit
f1c452fcf6
  1. 2
      deployed-server/scripts/get-occ-config.sh

2
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

Loading…
Cancel
Save