diff options
author | blsaws <bryan.sullivan@att.com> | 2016-05-24 09:53:36 -0700 |
---|---|---|
committer | blsaws <bryan.sullivan@att.com> | 2016-05-24 09:53:36 -0700 |
commit | a88c672a2545c6a0d142d541fb96c04ffd7fffbc (patch) | |
tree | d9c1eed1f6b6de0b34f119b3946b671d0d21a98e | |
parent | 81a1c8d4b1caf988a4bddc87f8ac8d6d38d0800d (diff) |
Add systemd cleanup
JIRA: COPPER-2
Change-Id: I39f92ea5ce6bd7550d6210de7df3850e5363f4b8
Signed-off-by: blsaws <bryan.sullivan@att.com>
-rw-r--r-- | components/congress/install/bash/clean_congress.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/congress/install/bash/clean_congress.sh b/components/congress/install/bash/clean_congress.sh index 19f3341..b89ec67 100644 --- a/components/congress/install/bash/clean_congress.sh +++ b/components/congress/install/bash/clean_congress.sh @@ -49,6 +49,9 @@ else source ~/admin-openrc.sh fi +echo "Remove systemd integration" +ssh -x -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no $CTLUSER@$CONGRESS_HOST "sudo rm -f /usr/lib/systemd/system/openstack-congress.service; sudo rm -f /etc/init.d/congress-server; exit" + cd ~ echo "Remove the Congress virtualenv and code" |