diff options
author | David Blaisonneau <david.blaisonneau@orange.com> | 2016-09-15 18:16:31 +0200 |
---|---|---|
committer | Narinder Gupta <narinder.gupta@canonical.com> | 2016-09-15 16:22:09 +0000 |
commit | 888b4a27576acf213fd2feb69d4852db845ffe16 (patch) | |
tree | a8c1f891bb42e4375d34e5768b460a10b8c50712 /ci | |
parent | 05f24781ddff8cc1ea9ad64634438415295f6023 (diff) |
remove etc/hosts push for heat
Change-Id: I3b8f3e8868f7f455bca0cb22bc4ba9b5dc4f3bf2
Signed-off-by: David Blaisonneau <david.blaisonneau@orange.com>
(cherry picked from commit 5c8efee7378402456f0688a3c841ba477315a4ed)
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/openstack.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh index 2e1eb9e1..5bee7d08 100755 --- a/ci/openstack.sh +++ b/ci/openstack.sh @@ -114,8 +114,11 @@ if [ "$API_FQDN" != "None" ]; then echo 'API FQDN injected'; \ fi" - #change in jumphost as well as below commands will run on jumphost + # remove this enhancement for heat that does not manage endpoints + juju run --service=heat "cp /etc/hosts /tmp/hosts ; \ + grep -v $API_FQDN /tmp/hosts > /etc/hosts" + #change in jumphost as well as below commands will run on jumphost if grep $API_FQDN /etc/hosts; then echo 'API FQDN already present' else @@ -217,4 +220,3 @@ openstack congress datasource create keystone "keystone" \ --config tenant_name=$OS_TENANT_NAME \ --config password=$OS_PASSWORD \ --config auth_url=http://$keystoneIp:5000/v2.0 - |