Created
June 22, 2012 12:14
-
-
Save CrackerJackMack/2972401 to your computer and use it in GitHub Desktop.
PEW PEW reset cloudstack as a fresh install
This file contains 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
/etc/init.d/cloud-management stop | |
mysql -ppassword -e 'drop database cloud' | |
mysql -ppassword -e 'drop database cloud_usage' | |
cloud-setup-databases cloud:password@localhost --deploy-as=root:password | |
rm -rf /var/log/cloud/management/* | |
cloud-setup-management | |
/etc/init.d/cloud-management start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for cloudstack 4.1 on *rpm compatible