Difference between revisions of "VirtualBox"

From Christoph's Personal Wiki
Jump to: navigation, search
(New page: '''VirtualBox''' is a free (open source) powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. ==Usage== ===VBoxManage=== ''Note: Each <code>`VBoxManag...)
(No difference)

Revision as of 16:33, 27 October 2015

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