1 parent
b967ff7f05
commit
72aa110f72
50 files changed
+489
-540
No files matched your search
@@ -28,12 +28,12 @@ function assoc_host_set_host() {
|
||||
function host_set_id() {
|
||||
local name=$1
|
||||
local hcid=$2
|
||||
strip $(list_host_sets $hcid | jq -c ".[] | select(.name | contains(\"$name\")) | .[\"id\"]")
|
||||
strip $(list_host_sets $hcid | jq -c ".items[] | select(.name | contains(\"$name\")) | .[\"id\"]")
|
||||
}
|
||||
|
||||
function host_set_host_ids() {
|
||||
local id=$1
|
||||
ids=$(read_host_set $id | jq '.["host_ids"]')
|
||||
ids=$(read_host_set $id | jq '.item["host_ids"]')
|
||||
echo "ids $ids"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user