Last active
March 17, 2016 13:15
-
-
Save eriknelson/6e6efaa0be07cc06b511 to your computer and use it in GitHub Desktop.
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 | |
ssh [email protected] 'katello-service restart' |
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 | |
sat_img=devel_env_sat_61_default.img | |
pushd /home/ernelson/dev/vm_env/devel_env_sat_6.1 | |
vagrant halt | |
sudo cp /backup/$sat_img /var/lib/libvirt/images | |
vagrant up | |
./sudo_fix.sh | |
./katello_restart.sh | |
popd |
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 | |
rm -rf ~/.ssh/known_hosts | |
ssh [email protected] 'rm -rf /etc/sudoers.d/fusor-utils && cp /home/ernelson/dev/fusor-utils/fusor-utils-sudoers /etc/sudoers.d/fusor-utils' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment