summaryrefslogtreecommitdiffstats
path: root/juju/joid-configure-openstack
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2016-07-27 23:57:05 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2016-07-28 01:36:56 -0500
commit6bc61ee14197bfb8faaf149c84b457485b5b8c11 (patch)
treeb29067b8601bd72de3e2b0a674c0b094502617b9 /juju/joid-configure-openstack
parentadb9288685ac205decce04a1d8eba4c9989bcc48 (diff)
patch not to remove swift API.
Change-Id: I32e552b7e42393fc4699010dab19f8547fa6352f Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'juju/joid-configure-openstack')
-rwxr-xr-xjuju/joid-configure-openstack6
1 files changed, 3 insertions, 3 deletions
diff --git a/juju/joid-configure-openstack b/juju/joid-configure-openstack
index a24fa005..14cc8204 100755
--- a/juju/joid-configure-openstack
+++ b/juju/joid-configure-openstack
@@ -88,9 +88,9 @@ neutron router-interface-add $ROUTER_ID $SUBNET_ID || true
echo "Configuring security groups for access to ICMP, SSH and RDP by default"
#Configure the default security group to allow ICMP and SSH
-neutron security-group-rule-list default | grep icmp > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol icmp --remote-ip-prefix 0.0.0.0/0 default
-neutron security-group-rule-list default | grep 22 > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 22 --port-range-max 22 --remote-ip-prefix 0.0.0.0/0 default
-neutron security-group-rule-list default | grep 3389 > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 3389 --port-range-max 3389 --remote-ip-prefix 0.0.0.0/0 default
+neutron security-group-rule-list | grep icmp > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol icmp --remote-ip-prefix 0.0.0.0/0 default
+neutron security-group-rule-list | grep 22 > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 22 --port-range-max 22 --remote-ip-prefix 0.0.0.0/0 default
+neutron security-group-rule-list | grep 3389 > /dev/null 2>&1 || neutron security-group-rule-create --direction ingress --ethertype IPv4 --protocol tcp --port-range-min 3389 --port-range-max 3389 --remote-ip-prefix 0.0.0.0/0 default
echo "Uploading default SSH key"