From: Martin Kulhavy Date: Tue, 8 Aug 2017 20:20:21 +0000 (+0300) Subject: Rename juju run --service flag to --application X-Git-Tag: opnfv-5.0.RC1~74^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F39%2F38939%2F1;p=joid.git 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 --- 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