1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2.
.TH VBOXMANAGE "1" "September 2010" "VBoxManage" "User Commands"
.SH NAME
VBoxManage \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox Command Line Management Interface
(C) 2005\-2010 Oracle Corporation
All rights reserved.
.PP
Usage:
.PP
VBoxManage [\-v|\-\-version] print version number and exit
VBoxManage [\-q|\-\-nologo] ... suppress the logo
.PP
VBoxManage list [\-\-long|\-l] vms|runningvms|ostypes|hostdvds|hostfloppies|
.IP
bridgedifs|hostonlyifs|dhcpservers|hostinfo|
hostcpuids|hddbackends|hdds|dvds|floppies|
usbhost|usbfilters|systemproperties
.PP
VBoxManage showvminfo <uuid>|<name> [\-\-details] [\-\-statistics]
.IP
[\-\-machinereadable]
.PP
VBoxManage showvminfo <uuid>|<name> \fB\-\-log\fR <idx>
.PP
VBoxManage registervm <filename>
.PP
VBoxManage unregistervm <uuid>|<name> [\-\-delete]
.PP
VBoxManage createvm \fB\-\-name\fR <name>
.IP
[\-\-ostype <ostype>]
[\-\-register]
[\-\-basefolder <path> | \fB\-\-settingsfile\fR <path>]
[\-\-uuid <uuid>]
.PP
VBoxManage modifyvm <uuid|name>
.IP
[\-\-name <name>]
[\-\-ostype <ostype>]
[\-\-memory <memorysize in MB>]
[\-\-pagefusion on|off]
[\-\-vram <vramsize in MB>]
[\-\-acpi on|off]
[\-\-ioapic on|off]
[\-\-pae on|off]
[\-\-hpet on|off]
[\-\-hwvirtex on|off]
[\-\-nestedpaging on|off]
[\-\-largepages on|off]
[\-\-vtxvpid on|off]
[\-\-synthcpu on|off]
[\-\-cpuidset <leaf> <eax> <ebx> <ecx> <edx>]
[\-\-cpuidremove <leaf>]
[\-\-cpuidremoveall]
[\-\-hardwareuuid <uuid>]
[\-\-cpus <number>]
[\-\-cpuhotplug on|off]
[\-\-plugcpu <id>]
[\-\-unplugcpu <id>]
[\-\-rtcuseutc on|off]
[\-\-monitorcount <number>]
[\-\-accelerate3d on|off]
[\-\-accelerate2dvideo on|off]
[\-\-firmware bios|efi|efi32|efi64]
[\-\-bioslogofadein on|off]
[\-\-bioslogofadeout on|off]
[\-\-bioslogodisplaytime <msec>]
[\-\-bioslogoimagepath <imagepath>]
[\-\-biosbootmenu disabled|menuonly|messageandmenu]
[\-\-biossystemtimeoffset <msec>]
[\-\-biospxedebug on|off]
[\-\-boot<1\-4> none|floppy|dvd|disk|net>]
[\-\-nic<1\-N> none|null|nat|bridged|intnet|hostonly|
.IP
vde]
.IP
[\-\-nictype<1\-N> Am79C970A|Am79C973|
.IP
82540EM|82543GC|82545EM|
virtio]
.IP
[\-\-cableconnected<1\-N> on|off]
[\-\-nictrace<1\-N> on|off]
[\-\-nictracefile<1\-N> <filename>]
[\-\-nicspeed<1\-N> <kbps>]
[\-\-nicbootprio<1\-N> <priority>]
[\-\-bridgeadapter<1\-N> none|<devicename>]
[\-\-hostonlyadapter<1\-N> none|<devicename>]
[\-\-intnet<1\-N> <network name>]
[\-\-natnet<1\-N> <network>|default]
[\-\-vdenet<1\-N> <network>|default]
[\-\-natsettings<1\-N> [<mtu>],[<socksnd>],
.IP
[<sockrcv>],[<tcpsnd>],
[<tcprcv>]]
.IP
[\-\-natpf<1\-N> [<rulename>],tcp|udp,[<hostip>],
.IP
<hostport>,[<guestip>],<guestport>]
.IP
[\-\-natpf<1\-N> delete <rulename>]
[\-\-nattftpprefix<1\-N> <prefix>]
[\-\-nattftpfile<1\-N> <file>]
[\-\-nattftpserver<1\-N> <ip>]
[\-\-natdnspassdomain<1\-N> on|off]
[\-\-natdnsproxy<1\-N> on|off]
[\-\-natdnshostresolver<1\-N> on|off]
[\-\-nataliasmode<1\-N> default|[log],[proxyonly],
.IP
[sameports]]
.IP
[\-\-macaddress<1\-N> auto|<mac>]
[\-\-mouse ps2|usb|usbtablet
[\-\-keyboard ps2|usb
[\-\-uart<1\-N> off|<I/O base> <IRQ>]
[\-\-uartmode<1\-N> disconnected|
.IP
server <pipe>|
client <pipe>|
file <file>|
<devicename>]
.IP
[\-\-guestmemoryballoon <balloonsize in MB>]
[\-\-gueststatisticsinterval <seconds>]
[\-\-audio none|null|oss|alsa|pulse]
[\-\-audiocontroller ac97|sb16]
[\-\-clipboard disabled|hosttoguest|guesttohost|
.IP
bidirectional]
.IP
[\-\-usb on|off]
[\-\-usbehci on|off]
[\-\-snapshotfolder default|<path>]
[\-\-teleporter on|off]
[\-\-teleporterport <port>]
[\-\-teleporteraddress <address|empty>
[\-\-teleporterpassword <password>]
.PP
VBoxManage import <ovf> [\-\-dry\-run|\-n] [more options]
.IP
(run with \fB\-n\fR to have options displayed
.IP
for a particular OVF)
.PP
VBoxManage export <machines> \fB\-\-output\fR|\-o <ovf>
.IP
[\-\-legacy09]
[\-\-vsys <number of virtual system>]
.IP
[\-\-product <product name>]
[\-\-producturl <product url>]
[\-\-vendor <vendor name>]
[\-\-vendorurl <vendor url>]
[\-\-version <version info>]
[\-\-eula <license text>]
[\-\-eulafile <filename>]
.PP
VBoxManage startvm <uuid>|<name>
.IP
[\-\-type gui|sdl|headless]
.PP
VBoxManage controlvm <uuid>|<name>
.IP
pause|resume|reset|poweroff|savestate|
acpipowerbutton|acpisleepbutton|
keyboardputscancode <hex> [<hex> ...]|
injectnmi|
setlinkstate<1\-N> on|off |
nic<1\-N> null|nat|bridged|intnet|hostonly
.IP
[<devicename>] |
.IP
nictrace<1\-N> on|off
nictracefile<1\-N> <filename>
guestmemoryballoon <balloonsize in MB>]
gueststatisticsinterval <seconds>]
usbattach <uuid>|<address> |
usbdetach <uuid>|<address> |
setvideomodehint <xres> <yres> <bpp> [display] |
setcredentials <username> <password> <domain>
.IP
[\-\-allowlocallogon <yes|no>] |
.IP
teleport \fB\-\-host\fR <name> \fB\-\-port\fR <port>
.IP
[\-\-maxdowntime <msec>] [\-\-password password]
.IP
plugcpu <id>
unplugcpu <id>
.PP
VBoxManage discardstate <uuid>|<name>
.PP
VBoxManage adoptstate <uuid>|<name> <state_file>
.PP
VBoxManage snapshot <uuid>|<name>
.IP
take <name> [\-\-description <desc>] [\-\-pause] |
delete <uuid>|<name> |
restore <uuid>|<name> |
restorecurrent |
edit <uuid>|<name>|\-\-current
.IP
[\-\-name <name>]
[\-\-description <desc>] |
.IP
showvminfo <uuid>|<name>
.PP
VBoxManage openmedium disk|dvd|floppy <filename>
.IP
[\-\-type normal|immutable|writethrough|
.IP
shareable] (disk only)
.IP
[\-\-uuid <uuid>]
[\-\-parentuuid <uuid>] (disk only)
.PP
VBoxManage closemedium disk|dvd|floppy <uuid>|<filename>
.IP
[\-\-delete]
.PP
VBoxManage storageattach <uuid|vmname>
.IP
\fB\-\-storagectl\fR <name>
\fB\-\-port\fR <number>
\fB\-\-device\fR <number>
[\-\-type dvddrive|hdd|fdd]
[\-\-medium none|emptydrive|
.IP
<uuid>|<filename>|host:<drive>]
.IP
[\-\-passthrough on|off]
[\-\-forceunmount]
.PP
VBoxManage storagectl <uuid|vmname>
.IP
\fB\-\-name\fR <name>
[\-\-add ide|sata|scsi|floppy|sas]
[\-\-controller LSILogic|LSILogicSAS|BusLogic|
.IP
IntelAHCI|PIIX3|PIIX4|ICH6|I82078]
.IP
[\-\-sataideemulation<1\-4> <1\-30>]
[\-\-sataportcount <1\-30>]
[\-\-hostiocache on|off]
[\-\-remove]
.PP
VBoxManage showhdinfo <uuid>|<filename>
.PP
VBoxManage createhd \fB\-\-filename\fR <filename>
.IP
\fB\-\-size\fR <megabytes>
[\-\-format VDI|VMDK|VHD] (default: VDI)
[\-\-variant Standard,Fixed,Split2G,Stream,ESX]
[\-\-type normal|writethrough|
.IP
shareable] (default: normal)
.IP
[\-\-comment <comment>]
[\-\-remember]
.PP
VBoxManage modifyhd <uuid>|<filename>
.IP
[\-\-type normal|writethrough|immutable|shareable]
[\-\-autoreset on|off]
[\-\-compact]
.PP
VBoxManage clonehd <uuid>|<filename> <outputfile>
.IP
[\-\-format VDI|VMDK|VHD|RAW|<other>]
[\-\-variant Standard,Fixed,Split2G,Stream,ESX]
[\-\-type normal|writethrough|immutable|shareable]
[\-\-remember] [\-\-existing]
.PP
VBoxManage convertfromraw <filename> <outputfile>
.IP
[\-\-format VDI|VMDK|VHD]
[\-\-variant Standard,Fixed,Split2G,Stream,ESX]
.PP
VBoxManage convertfromraw stdin <outputfile> <bytes>
.IP
[\-\-format VDI|VMDK|VHD]
[\-\-variant Standard,Fixed,Split2G,Stream,ESX]
.PP
VBoxManage addiscsidisk \fB\-\-server\fR <name>|<ip>
.IP
\fB\-\-target\fR <target>
[\-\-port <port>]
[\-\-lun <lun>]
[\-\-encodedlun <lun>]
[\-\-username <username>]
[\-\-password <password>]
[\-\-type normal|writethrough|immutable|shareable]
[\-\-intnet]
.PP
VBoxManage getextradata global|<uuid>|<name>
.IP
<key>|enumerate
.PP
VBoxManage setextradata global|<uuid>|<name>
.IP
<key>
[<value>] (no value deletes key)
.PP
VBoxManage setproperty hdfolder default|<folder> |
.IP
machinefolder default|<folder> |
vrdpauthlibrary default|<library> |
websrvauthlibrary default|null|<library> |
loghistorycount <value>
.PP
VBoxManage usbfilter add <index,0\-N>
.IP
\fB\-\-target\fR <uuid>|<name>|global
\fB\-\-name\fR <string>
\fB\-\-action\fR ignore|hold (global filters only)
[\-\-active yes|no] (yes)
[\-\-vendorid <XXXX>] (null)
[\-\-productid <XXXX>] (null)
[\-\-revision <IIFF>] (null)
[\-\-manufacturer <string>] (null)
[\-\-product <string>] (null)
[\-\-remote yes|no] (null, VM filters only)
[\-\-serialnumber <string>] (null)
[\-\-maskedinterfaces <XXXXXXXX>]
.PP
VBoxManage usbfilter modify <index,0\-N>
.IP
\fB\-\-target\fR <uuid>|<name>|global
[\-\-name <string>]
[\-\-action ignore|hold] (global filters only)
[\-\-active yes|no]
[\-\-vendorid <XXXX>|""]
[\-\-productid <XXXX>|""]
[\-\-revision <IIFF>|""]
[\-\-manufacturer <string>|""]
[\-\-product <string>|""]
[\-\-remote yes|no] (null, VM filters only)
[\-\-serialnumber <string>|""]
[\-\-maskedinterfaces <XXXXXXXX>]
.PP
VBoxManage usbfilter remove <index,0\-N>
.IP
\fB\-\-target\fR <uuid>|<name>|global
.PP
VBoxManage sharedfolder add <vmname>|<uuid>
.IP
\fB\-\-name\fR <name> \fB\-\-hostpath\fR <hostpath>
[\-\-transient] [\-\-readonly]
.PP
VBoxManage sharedfolder remove <vmname>|<uuid>
.IP
\fB\-\-name\fR <name> [\-\-transient]
.PP
VBoxManage vmstatistics <vmname>|<uuid> [\-\-reset]
.IP
[\-\-pattern <pattern>] [\-\-descriptions]
.PP
VBoxManage guestproperty get <vmname>|<uuid>
.IP
<property> [\-\-verbose]
.PP
VBoxManage guestproperty set <vmname>|<uuid>
.IP
<property> [<value> [\-\-flags <flags>]]
.PP
VBoxManage guestproperty enumerate <vmname>|<uuid>
.IP
[\-\-patterns <patterns>]
.PP
VBoxManage guestproperty wait <vmname>|<uuid> <patterns>
.IP
[\-\-timeout <msec>] [\-\-fail\-on\-timeout]
.PP
VBoxManage guestcontrol execute <vmname>|<uuid>
.IP
<path to program>
\fB\-\-username\fR <name> \fB\-\-password\fR <password>
[\-\-arguments "<arguments>"]
[\-\-environment "<NAME>=<VALUE> [<NAME>=<VALUE>]"]
[\-\-flags <flags>] [\-\-timeout <msec>]
[\-\-verbose] [\-\-wait\-for exit,stdout,stderr||]
.PP
VBoxManage metrics list [*|host|<vmname> [<metric_list>]]
.IP
(comma\-separated)
.PP
VBoxManage metrics setup
.IP
[\-\-period <seconds>] (default: 1)
[\-\-samples <count>] (default: 1)
[\-\-list]
[*|host|<vmname> [<metric_list>]]
.PP
VBoxManage metrics query [*|host|<vmname> [<metric_list>]]
.PP
VBoxManage metrics enable
.IP
[\-\-list]
[*|host|<vmname> [<metric_list>]]
.PP
VBoxManage metrics disable
.IP
[\-\-list]
[*|host|<vmname> [<metric_list>]]
.PP
VBoxManage metrics collect
.IP
[\-\-period <seconds>] (default: 1)
[\-\-samples <count>] (default: 1)
[\-\-list]
[\-\-detach]
[*|host|<vmname> [<metric_list>]]
.PP
VBoxManage hostonlyif ipconfig <name>
.IP
[\-\-dhcp |
\fB\-\-ip\fR<ipv4> [\-\-netmask<ipv4> (def: 255.255.255.0)] |
\fB\-\-ipv6\fR<ipv6> [\-\-netmasklengthv6<length> (def: 64)]]
.PP
VBoxManage dhcpserver add|modify \fB\-\-netname\fR <network_name> |
.IP
\fB\-\-ifname\fR <hostonly_if_name>
.IP
[\-\-ip <ip_address>
.IP
\fB\-\-netmask\fR <network_mask>
\fB\-\-lowerip\fR <lower_ip>
\fB\-\-upperip\fR <upper_ip>]
.IP
[\-\-enable | \fB\-\-disable]\fR
.PP
VBoxManage dhcpserver remove \fB\-\-netname\fR <network_name> |
.IP
\fB\-\-ifname\fR <hostonly_if_name>
|