User Tools

Site Tools


virtualbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
virtualbox [2009/10/28 13:20] alanvirtualbox [2009/10/28 13:20] alan
Line 1: Line 1:
 ===== VirtualBox tips/tricks ===== ===== VirtualBox tips/tricks =====
- 
 ==== Commonly-used commands ==== ==== Commonly-used commands ====
 To change between "not attached", NAT,Bridged,internal network and host olny adapter:  To change between "not attached", NAT,Bridged,internal network and host olny adapter: 
Line 22: Line 21:
 List all running VMs: List all running VMs:
 <code>VBoxManage list runningvms </code> <code>VBoxManage list runningvms </code>
- 
-PORT FORWARDING!! 
-<code>$ VBoxManage setextradata b3924a0c-70a1-4890-8dff-3cc308cdaf28 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2223 
-$ VBoxManage setextradata b3924a0c-70a1-4890-8dff-3cc308cdaf28 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22 
-$ VBoxManage setextradata b3924a0c-70a1-4890-8dff-3cc308cdaf28 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP</code> 
- 
 List guest properties: List guest properties:
 <code> VBoxManage list -l  vms </code> <code> VBoxManage list -l  vms </code>