summaryrefslogtreecommitdiffstats
path: root/cm-container/scripts/dcae-cleanup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'cm-container/scripts/dcae-cleanup.sh')
-rwxr-xr-xcm-container/scripts/dcae-cleanup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cm-container/scripts/dcae-cleanup.sh b/cm-container/scripts/dcae-cleanup.sh
index a9779be..ce5c56b 100755
--- a/cm-container/scripts/dcae-cleanup.sh
+++ b/cm-container/scripts/dcae-cleanup.sh
@@ -57,6 +57,6 @@ TYPENAMES=[\\\"dcae.nodes.ContainerizedServiceComponent\\\",\\\"dcae.nodes.Conta
#
# xargs -I lets us run the cfy executions command once for each deployment id extracted by jq
-curl -Ss --user admin:$CMPASS -H "Tenant: default_tenant" "localhost/api/v3.1/deployments?_include=id" \
+curl -k -Ss --user admin:$CMPASS -H "Tenant: default_tenant" "https://dcae-cloudify-manager/api/v3.1/deployments?_include=id" \
| /bin/jq .items[].id \
| xargs -I % sh -c "cfy executions start -d % -p '{'\\\"type_names\\\":${TYPENAMES},\\\"operation\\\":\\\"cloudify.interfaces.lifecycle.stop\\\"'}' execute_operation"