valet/devstack/clean-valet-cleanup.sh
Cliff Parsons bac30ca8a7 Valet Devstack Plugin
This commit contains the scripts for the Valet Devstack
plugin. The plugin.sh file is the entry point into the
plugin. These scripts provide the "stack", "unstack" and
"clean" capabilities.

Task: #4591
Story: #2001035

Change-Id: Ib7ec301802bb05969ebc83d060823c0bb8146f53
2017-06-20 16:19:23 -05:00

16 lines
439 B
Bash
Executable File

#!/usr/bin/env bash
echo "Removing Valet service/endpoint/user from OpenStack"
cd ${HOME}/devstack
source openrc admin admin
openstack endpoint delete valet
openstack service delete valet
openstack user delete valet
echo "Removing Valet executables and data files..."
sudo rm -rf /opt/app/aic-valet-tools
sudo rm /usr/bin/valet-engine
sudo rm -rf /var/run/valet
sudo rm -rf /var/lib/cassandra
sudo rm -rf /var/lib/tomcat7/webapps/MUSIC*