Skip to content
This repository has been archived by the owner on Jan 21, 2023. It is now read-only.

Latest commit

 

History

History
77 lines (65 loc) · 1.25 KB

NOTES.md

File metadata and controls

77 lines (65 loc) · 1.25 KB

Notes

VBoxManage Commands to Cover

Start

VBoxManage startvm <LABEL> --type <MODE>

Stop (with timeout)

VBoxManage controlvm <LABEL> poweroff

Snapshot

VBoxManage snapshot <LABEL> restore <snapshot>
VBoxManage snapshot <LABEL> restorecurrent

List

VBoxManage list vms

Status

VBoxManage showvminfo <LABEL> --machinereadable

Dump Memory

VBoxManage debugvm <LABEL> dumpvmcore --filename <PATH>
VBoxManage debugvm <LABEL> dumpguestcore --filename <PATH>

Dump PCAP

VBoxManage controlvm <LABEL> nictracefile1 <PCAP_PATH>
VBoxManage controlvm <LABEL> nictrace1 on

Version

VBoxManage -v

vboxwebsrv

Install on OSX

$ edit $HOME/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist

Change

  <key>Disabled</key>
  <true/>

to

  <key>Disabled</key>
  <false/>

Change vboxwebsrv auth to null

$ VBoxManage setproperty websrvauthlibrary null

Manually start vboxwebsrv

launchctl load ~/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist
git clone https://github.com/blacktop/vboxmanage-proxy.git
cd vboxmanage-proxy
GOOS=linux go build -o VBoxManage