summaryrefslogtreecommitdiffstats
path: root/juju/configure-juju-on-openstack
diff options
context:
space:
mode:
authorNarinder Gupta <narinder.gupta@canonical.com>2018-01-22 18:36:29 -0600
committerNarinder Gupta <narinder.gupta@canonical.com>2018-01-22 18:36:56 -0600
commitaadc493bf402476ae10f526403591f9f21d8e715 (patch)
tree506227c6e4118ef0dd2d4916814d351f73345f22 /juju/configure-juju-on-openstack
parent69bb3846048a7c05ddb96364c4881da5e4f1b62d (diff)
modified to enable the DVR on the deployment by default.
Change-Id: Iea20b4071a6d8f67db4c190e509ef71f0a70358a Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'juju/configure-juju-on-openstack')
-rwxr-xr-xjuju/configure-juju-on-openstack2
1 files changed, 1 insertions, 1 deletions
diff --git a/juju/configure-juju-on-openstack b/juju/configure-juju-on-openstack
index 6717ce53..e3fdaa96 100755
--- a/juju/configure-juju-on-openstack
+++ b/juju/configure-juju-on-openstack
@@ -105,7 +105,7 @@ swift stat simplestreams
swift post simplestreams --read-acl .r:*
openstack service show product-streams > /dev/null 2>&1 || openstack service create --name product-streams --description "Product Simple Stream" product-streams
-SWIFT_URL=`openstack endpoint list --service swift --interface internal -c URL -f value`
+SWIFT_URL=`openstack endpoint list --service swift --interface public -c URL -f value`
openstack endpoint create --region $OS_REGION_NAME product-streams public $SWIFT_URL/simplestreams/images
openstack endpoint create --region $OS_REGION_NAME product-streams internal $SWIFT_URL/simplestreams/images