Created
September 18, 2014 23:55
-
-
Save kelseyhightower/d4793357ba0563a24acd 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 | |
VMRUN="/Applications/VMware Fusion.app/Contents/Library/vmrun" | |
echo "starting $1" | |
"$VMRUN" start "/Users/kelseyhightower/Documents/Virtual Machines.localized/${1}.vmwarevm/${1}.vmx" | |
kube-router-manager $ cat /usr/local/bin/core-revert | |
#!/bin/bash | |
VMRUN="/Applications/VMware Fusion.app/Contents/Library/vmrun" | |
for i in 0 1 2; do | |
echo "reverting core${i}" | |
"$VMRUN" revertToSnapshot "/Users/kelseyhightower/Documents/Virtual Machines.localized/core${i}.vmwarevm/core${i}.vmx" base | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment