diff options
author | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-29 12:49:49 -0500 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-06-29 12:50:26 -0500 |
commit | d545ddc8b29d7d86ce160805449087ede0544b41 (patch) | |
tree | 0b6078182736cc0e28844905f955625b10674a5d /ci/01-deploybundle.sh | |
parent | e4ba668132c7958301ba399b839fa1ce43072a6f (diff) |
modified the bundle to use the public end point if assigned.
Change-Id: I3bf11b14af61e8dc31589a130faad179d06e0c37
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
Diffstat (limited to 'ci/01-deploybundle.sh')
-rwxr-xr-x | ci/01-deploybundle.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ci/01-deploybundle.sh b/ci/01-deploybundle.sh index 7748b005..08f539b5 100755 --- a/ci/01-deploybundle.sh +++ b/ci/01-deploybundle.sh @@ -66,6 +66,8 @@ if [ -e ~/.juju/deployment.yaml ]; then sed --i "s@osd-devices: /srv@osd-devices: $cephdisk@g" ./bundles.yaml osdomname=`grep "os-domain-name" deployconfig.yaml | cut -d ':' -f 2 | sed -e 's/ //'` if [ "$osdomname" != "''" ]; then + sed --i "s@#use-internal-endpoints: true@use-internal-endpoints: true@g" ./bundles.yaml + sed --i "s@#endpoint-type: internalURL@endpoint-type: internalURL@g" ./bundles.yaml sed --i "s@#os-public-hostname: pod.maas@os-public-hostname: api.$osdomname@g" ./bundles.yaml sed --i "s@#console-proxy-ip: pod.maas@console-proxy-ip: $osdomname@g" ./bundles.yaml fi |