Tips and Tricks
Keep all tips and tricks learned in one place.
Monday, December 5, 2011
VBOX check the state of a VM
text=`vboxmanage showvminfo MACHINE_NAME | grep State: | awk '{print $2}'` ; if [ $text == "running" ] ; then echo OK ; else echo "NOTOK" ; fi
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment