You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/roles/development_environment/files/pre_launch.bash
+13-4Lines changed: 13 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -111,10 +111,19 @@ if [ "$PING_TEST_VM" = "true" ]; then
111
111
fi
112
112
113
113
# Create security groups
114
-
${BASH_ALIASES[openstack]} security group rule list --protocol icmp --ingress -f json | grep -q '"IP Range": "0.0.0.0/0"'|| \
115
-
${BASH_ALIASES[openstack]} security group rule create --protocol icmp --ingress --icmp-type -1 $(${BASH_ALIASES[openstack]} security group list --project admin -f value -c ID)
116
-
${BASH_ALIASES[openstack]} security group rule list --protocol tcp --ingress -f json | grep '"Port Range": "22:22"'|| \
117
-
${BASH_ALIASES[openstack]} security group rule create --protocol tcp --ingress --dst-port 22 $(${BASH_ALIASES[openstack]} security group list --project admin -f value -c ID)
114
+
115
+
${BASH_ALIASES[openstack]} security group show adoption-test || {
116
+
${BASH_ALIASES[openstack]} security group create adoption-test
0 commit comments