Skip to content

Commit 8e8fc9b

Browse files
authored
Fix delete acl (#39)
Signed-off-by: danielbu-ibm <[email protected]>
1 parent 849b61f commit 8e8fc9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/setup-default-acl.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ibmcloud is network-acl "${ACL_ID}" --output JSON | \
2020
jq -r '.rules[].id' | \
2121
while read rule_id;
2222
do
23-
ibmcloud network-acl-rule-delete "${ACL_ID}" "${rule_id}"
23+
echo y | ibmcloud is network-acl-rule-delete "${ACL_ID}" "${rule_id}"
2424
done
2525

2626
ibmcloud is network-acl-rule-add "${ACL_ID}" allow inbound all 10.0.0.0/8 10.0.0.0/8 --name allow-internal-ingress

0 commit comments

Comments
 (0)