Last active
December 12, 2015 04:28
-
-
Save obazoud/4714614 to your computer and use it in GitHub Desktop.
Revisions
-
obazoud revised this gist
Feb 5, 2013 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,9 @@ #!/bin/bash for vm in `VBoxManage list runningvms | awk '{ print $1 }' | sed "s/\"//g"`; do VBoxManage controlvm "$vm" poweroff done for vm in `VBoxManage list vms | awk '{ print $1 }' | sed "s/\"//g"`; do VBoxManage unregistervm --delete "$vm" done -
obazoud created this gist
Feb 5, 2013 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ #!/bin/bash for vm in `VBoxManage list vms | awk '{ print $1 }' | sed "s/\"//g"`; do VBoxManage unregistervm --delete $vm done