summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorMartin Kulhavy <martin.kulhavy@nokia.com>2017-08-08 23:20:21 +0300
committerMartin Kulhavy <martin.kulhavy@nokia.com>2017-08-08 23:20:21 +0300
commit705ee80d0d4435680341a931a2be158c4ba549d2 (patch)
tree5253079aefce1fe221e372956cf4ccff2f060a43 /ci
parent81f7f37c15359e89eb416d3035803358eb7bfdbe (diff)
Rename juju run --service flag to --application
This flag has been renamed in (probably) Juju 2.0. For reference, compare documentation for `juju run` command in https://jujucharms.com/docs/1.25/commands and https://jujucharms.com/docs/2.0/commands The `--service` flag causes the `openstack.sh` to fail and exit, skipping important functionality. Change-Id: Ia5b3f5c29622de2caabee9832aa6920932c43656 Signed-off-by: Martin Kulhavy <martin.kulhavy@nokia.com>
Diffstat (limited to 'ci')
-rwxr-xr-xci/openstack.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/openstack.sh b/ci/openstack.sh
index 3a9a7ebe..ed082b9b 100755
--- a/ci/openstack.sh
+++ b/ci/openstack.sh
@@ -170,7 +170,7 @@ if [ "$API_FQDN" != "None" ]; then
fi"
# remove this enhancement for heat that does not manage endpoints
- juju run --service=heat "cp /etc/hosts /tmp/hosts ; \
+ juju run --application=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