Merge "Sort ResourceGroup resource list"
This commit is contained in:
commit
f1c452fcf6
@ -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…
Reference in New Issue
Block a user