summaryrefslogtreecommitdiffstats
path: root/components/congress
diff options
context:
space:
mode:
Diffstat (limited to 'components/congress')
-rw-r--r--components/congress/joid/clean_congress.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/congress/joid/clean_congress.sh b/components/congress/joid/clean_congress.sh
index 2afc0b3..1867622 100644
--- a/components/congress/joid/clean_congress.sh
+++ b/components/congress/joid/clean_congress.sh
@@ -24,7 +24,7 @@ openstack
EOF
source ~/env.sh
set -x echo on
-juju ssh ubuntu@node1-control "sudo lxc-stop --name juju-trusty-congress; sudo lxc-destroy --name juju-trusty-congress; exit"
+juju ssh ubuntu@$1 "sudo lxc-stop --name juju-trusty-congress; sudo lxc-destroy --name juju-trusty-congress; exit"
# Delete Congress user
export CONGRESS_USER=$(openstack user list | awk "/ congress / { print \$2 }")