Forked from CrackerJackMack/purge-cloudstack.sh
Created
September 26, 2014 00:58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service cloudstack-management stop | |
mysql -ppassword -e 'drop database cloud' | |
mysql -ppassword -e 'drop database cloud_usage' | |
cloudstack-setup-databases cloud:password@localhost --deploy-as=root:password | |
rm -rf /var/log/cloud/management/* | |
cloudstack-setup-management | |
service cloudstack-management start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment