Last active
March 27, 2018 09:56
-
-
Save samof76/1521db1deeba063b9a3f4c1d4bbc9420 to your computer and use it in GitHub Desktop.
prepare gold instances
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
#!/bin/bash | |
/etc/init.d/monit stop | |
/etc/init.d/opsworks-agent stop | |
rm -rf /etc/aws/opsworks/ /opt/aws/opsworks/ /var/log/aws/opsworks/ /var/lib/aws/opsworks/ /etc/monit.d/opsworks-agent.monitrc /etc/monit/conf.d/opsworks-agent.monitrc /var/lib/cloud/ /etc/chef | |
rpm -e opsworks-agent-ruby | |
# rpm -e chef | |
# /etc/init.d/nginx stop | |
# mv /data /data_copy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment