From a88c672a2545c6a0d142d541fb96c04ffd7fffbc Mon Sep 17 00:00:00 2001 From: blsaws Date: Tue, 24 May 2016 09:53:36 -0700 Subject: Add systemd cleanup JIRA: COPPER-2 Change-Id: I39f92ea5ce6bd7550d6210de7df3850e5363f4b8 Signed-off-by: blsaws --- components/congress/install/bash/clean_congress.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/congress/install') 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" -- cgit 1.2.3-korg