summaryrefslogtreecommitdiffstats
path: root/juju
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2017-05-01 14:32:51 -0500
committerNarinder Gupta <narinder.gupta@canonical.com>2017-05-02 15:31:47 -0500
commitc21e199a328c1d52232c213d2b243016cca46812 (patch)
tree8b203ef25e00d7f87b695d7ba6eddfb86cf3a3f9 /juju
parent6baf75637c2543d26e5887f3cb5903b10185e3e1 (diff)
added support for install from git repository. please modify
default_deployment_config.yaml to install from release repo for ocata,master etc. Also user can define their own URL and more information can be obtained at jujucharms.com Change-Id: I4943dbf68c6d980b2a2da65417b16631df768b48 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'juju')
-rwxr-xr-xjuju/joid-configure-openstack2
1 files changed, 1 insertions, 1 deletions
diff --git a/juju/joid-configure-openstack b/juju/joid-configure-openstack
index 34661281..71e4f712 100755
--- a/juju/joid-configure-openstack
+++ b/juju/joid-configure-openstack
@@ -43,7 +43,7 @@ neutron subnet-show private_subnet > /dev/null 2>&1 || neutron subnet-create pri
SUBNET_ID=$(neutron subnet-show private_subnet | grep " id" | awk '{print $4}')
#Create router for external network and private network
-neutron router-show provider-router > /dev/null 2>&1 || neutron router-create --tenant-id $TENANT_ID provider-router
+openstack router list provider-router > /dev/null 2>&1 || openstack router create --project-domain=$OS_PROJECT_DOMAIN_NAME --project $OS_PROJECT_NAME provider-router
ROUTER_ID=$(neutron router-show provider-router | grep " id" | awk '{print $4}')
neutron router-gateway-clear provider-router || true