VirtualBox

From Christoph's Personal Wiki
Revision as of 07:26, 1 July 2020 by Christoph (Talk | contribs) (VBoxManage)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

VirtualBox is a free (open source) powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use.

Usage

VBoxManage

Note: Each VBoxManage command is linked to the underscore command of the same name (i.e., vboxmanage).

$ VBoxManage list runningvms
$ VBoxManage showvminfo <vmname|vmuuid> | grep ^NIC
$ ip r|grep vboxnet
$ route -n|grep vboxnet
$ VBoxManage list hostonlyifs
$ VBoxManage hostonlyif remove vboxnet{n} # where n = 0,1,..,n
$ VBoxManage list extpacks
$ VBoxManage list systemproperties
  • Export preconfigured VM:
$ VBoxManage list runningvms # get UUID of desired VM
$ vagrant package --base <VM_UUID> --output /path/to/output.box
  • Import preconfigured VM:
$ vagrant init preconfigured_vm /path/to/output.box

External links