Merge "Ocata security group fix"
This commit is contained in:
commit
2a553779a6
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user