From df06f21dc792b1c17219d9d9d59e29184e1868bb Mon Sep 17 00:00:00 2001 From: Harry Huang Date: Thu, 2 Mar 2017 10:51:10 +0800 Subject: fix no precise image bug 1. add precise image name 2. release caches before install open-o and before install juju 3. remove known_hosts on jump host Change-Id: I7d1957c53c1b957718622d3f90c2a86966f1ec23 Signed-off-by: Harry Huang --- juju/juju_setup.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'juju') diff --git a/juju/juju_setup.sh b/juju/juju_setup.sh index d52b47f..e37eb1f 100755 --- a/juju/juju_setup.sh +++ b/juju/juju_setup.sh @@ -65,6 +65,11 @@ function juju_prepare() --remote-ip-prefix 0.0.0.0/0 $default_secgroup_id fi + if [[ ! $(neutron security-group-rule-list | grep default | grep "icmp") ]]; then + neutron security-group-rule-create --direction egress --protocol icmp \ + --remote-ip-prefix 0.0.0.0/0 $default_secgroup_id + fi + if [[ ! $(neutron security-group-rule-list | grep default | grep "tcp") ]]; then neutron security-group-rule-create --direction ingress --protocol tcp \ --remote-ip-prefix 0.0.0.0/0 $default_secgroup_id -- cgit 1.2.3-korg