for i in `vboxmanage list vms | sed "s/\"\(.*\)\".*/\1/"`
do
declare -a vmki=("$i")
for vm in ${vmki[@]}
do
echo -n "starting...." $vm
echo ""
sleep 1
VBoxManage startvm $i --type headless
done
done
this script will take list all of existing virtualbox insences and start it.
Brak komentarzy:
Prześlij komentarz