diff options
author | Bryan Sullivan <bs3131@att.com> | 2016-02-10 13:17:37 -0800 |
---|---|---|
committer | blsaws <bs3131@att.com> | 2016-04-01 08:30:07 -0700 |
commit | 64e4823ae0eb90010f19a4648dc1814883a002d6 (patch) | |
tree | 9c139ae1b778ff266061b5fc25db6c5f13fd463b /components/congress/joid/install_congress_3.sh | |
parent | ddd30aace0b76befa6e7938237f9451d1a6a8c7d (diff) |
Add "source" to remote commands executed via juju ssh.
JIRA: COPPER-2
Change-Id: I49821d730a6a2840b5bdeadba8856218bcbe521b
Signed-off-by: Bryan Sullivan <bs3131@att.com>
Diffstat (limited to 'components/congress/joid/install_congress_3.sh')
-rw-r--r-- | components/congress/joid/install_congress_3.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/congress/joid/install_congress_3.sh b/components/congress/joid/install_congress_3.sh index 980debb..4507fed 100644 --- a/components/congress/joid/install_congress_3.sh +++ b/components/congress/joid/install_congress_3.sh @@ -26,7 +26,7 @@ # source ~/git/copper/components/congress/joid/install_congress_3.sh cat <<EOF >~/env.sh -export CONGRESS_HOST=192.168.10.125 +export CONGRESS_HOST=192.168.10.118 export KEYSTONE_HOST=$(juju status --format=short | awk "/keystone\/0/ { print \$3 }") export CEILOMETER_HOST=$(juju status --format=short | awk "/ceilometer\/0/ { print \$3 }") export CINDER_HOST=$(juju status --format=short | awk "/cinder\/0/ { print \$3 }") @@ -38,4 +38,4 @@ source ~/env.sh juju scp ~/admin-openrc.sh ubuntu@$CONGRESS_HOST:/home/ubuntu juju scp ~/env.sh ubuntu@$CONGRESS_HOST:/home/ubuntu juju scp ~/git/copper/components/congress/joid/install_congress_4.sh ubuntu@$CONGRESS_HOST:/home/ubuntu -juju ssh ubuntu@$CONGRESS_HOST "~/install_congress_4.sh; exit" +juju ssh ubuntu@$CONGRESS_HOST "source ~/install_congress_4.sh; exit" |