Merge "Ocata security group fix"

This commit is contained in:
Jenkins 2017-03-16 22:34:11 +00:00 committed by Gerrit Code Review
commit 2a553779a6

View File

@ -103,11 +103,14 @@ neutron subnet-create --gateway=172.18.1.1 \
--allocation-pool start=172.18.1.65,end=172.18.1.254 \
--name admin admin 172.18.1.0/24
neutron router-interface-add admin admin
neutron security-group-rule-create --protocol icmp \
--direction ingress default
neutron security-group-rule-create --protocol tcp \
--port-range-min 22 --port-range-max 22 \
--direction ingress default
openstack security group list -f value -c ID | while read SG_ID; do
neutron security-group-rule-create --protocol icmp \
--direction ingress $SG_ID
neutron security-group-rule-create --protocol tcp \
--port-range-min 22 --port-range-max 22 \
--direction ingress $SG_ID
done
openstack flavor create --public --id 1 --ram 512 --disk 1 --vcpus 1 m1.tiny || true