Skip to content

Commit

Permalink
Adjusted snapshot.sh to work with ubuntu12.4 and centos6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Khalymon committed Oct 8, 2014
1 parent 40617c2 commit f2fc51a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion snapshot_tool/snapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
set_vm_prefix(){
current_dir=$(basename "$PWD")
case $current_dir in
centos6.5)
vm_prefix=c65
;;
centos6.4)
vm_prefix=c64
;;
Expand All @@ -24,9 +27,12 @@ set_vm_prefix(){
suse11)
vm_prefix=suse11
;;
ubuntu12.4)
vm_prefix=u12
;;
*)
echo "Unrecognized working folder! $0 needs to be placed into on of the following: "
echo "centos6.4 centos5.8. centos5.9 suse1101"
echo "centos 6.5 centos6.4 centos5.8. centos5.9 suse11 ubuntu12.4"
exit -1;
;;
esac
Expand Down

0 comments on commit f2fc51a

Please sign in to comment.