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...)
 
(VBoxManage)
 
Line 3: Line 3:
 
==Usage==
 
==Usage==
 
===VBoxManage===
 
===VBoxManage===
''Note: Each <code>`VBoxManage`</code> command is linked to the underscore command of the same name (i.e., <code>`vboxmanage`</code>).''
+
''Note: Each <code>VBoxManage</code> command is linked to the underscore command of the same name (i.e., <code>vboxmanage</code>).''
 
  $ VBoxManage list runningvms
 
  $ VBoxManage list runningvms
 
  $ VBoxManage showvminfo <vmname|vmuuid> | grep ^NIC
 
  $ VBoxManage showvminfo <vmname|vmuuid> | grep ^NIC

Latest revision as of 07:26, 1 July 2020

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