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
# Add to your ~/.bashrc, then run source ~/.bashrc | |
# virsh-snapshot-create mybox mysnap | |
# Run in forklift directory | |
function virsh-snapshot-create { | |
vagrant halt $1 | |
virsh snapshot-create-as forklift_$1 $2 | |
vagrant up $1 | |
} |
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
#!/usr/bin/env bash | |
sudo service rh-mongodb34-mongod restart | |
sudo service pulp_workers restart | |
sudo service pulp_celerybeat restart | |
sudo service pulp_resource_manager restart |