Skip to content

Instantly share code, notes, and snippets.

@eriknelson
Last active March 17, 2016 13:15
Show Gist options
  • Save eriknelson/6e6efaa0be07cc06b511 to your computer and use it in GitHub Desktop.
Save eriknelson/6e6efaa0be07cc06b511 to your computer and use it in GitHub Desktop.
#!/bin/bash
ssh [email protected] 'katello-service restart'
#!/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
#!/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