Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
software:virtualbox [2017/09/12 13:01] – angelegt st | software:virtualbox [2020/09/28 19:24] (aktuell) – st | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== Virtualbox ====== | ||
+ | |||
+ | VirtualBox ist eine Virtualisierungssoftware des US-amerikanischen Unternehmens Oracle unter der GPL v2. | ||
+ | |||
+ | Seit [[linux: | ||
+ | |||
+ | |||
+ | ===== Befehle ===== | ||
+ | |||
+ | ==== vdi zu raw/qcow2 konvertieren ==== | ||
+ | |||
+ | :!: VBoxManage gehört zum Virtualbox-paket, | ||
+ | |||
+ | <code bash> | ||
+ | VBoxManage clonehd --format RAW vboximage.vdi rawimage.raw | ||
+ | qemu-img convert -f raw rawimage.raw -O qcow2 image.qcow2 | ||
+ | # optional resize: | ||
+ | # qemu-img resize image.qcow2 +50G | ||
+ | </ | ||
+ | Quelle: https:// | ||
+ | |||
+ | ==== resize ==== | ||
+ | |||
+ | :!: vorher ein Backup machen! | ||
+ | |||
+ | MY_HD.vdi auf 6000 MiB einstellen: | ||
+ | <code bash> | ||
+ | |||
+ | Möglicherweise kommt der folgende Fehler: | ||
+ | < | ||
+ | VBoxManage: error: Resize hard disk operation for this format is not implemented yet!</ | ||
+ | |||
+ | Lösung: das vorhandene Image muss zu einem dynamischen Image konvertiert werden: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | anschließend der resize (s.o.). | ||
+ | |||
+ | |||
+ | ===== Konfiguration ===== | ||
+ | |||
+ | ==== virtualbox headless ==== | ||
+ | |||
+ | <code bash>apt install virtualbox-5.2</ | ||
+ | |||
+ | / | ||
+ | |||
+ | <code bash> | ||
+ | wget https:// | ||
+ | # bzw. bei neueren Versionen (hier 5.2.30): | ||
+ | # wget https:// | ||
+ | vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.2.16.vbox-extpack | ||
+ | </ | ||
+ | |||
+ | -> vboxmanage list extpacks | ||
+ | |||
+ | |||
+ | / | ||
+ | |||
+ | |||
+ | -> / | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | # Set this to 1 if you would like the virtualbox modules to be loaded by | ||
+ | # the init script. | ||
+ | LOAD_VBOXDRV_MODULE=1 | ||
+ | |||
+ | # SHUTDOWN_USERS=" | ||
+ | # check for running VMs of user ' | ||
+ | # ' | ||
+ | # SHUTDOWN=poweroff | ||
+ | # SHUTDOWN=acpibutton | ||
+ | # SHUTDOWN=savestate | ||
+ | # | ||
+ | # | ||
+ | # 30 seconds for the VMs to shutdown | ||
+ | SHUTDOWN_USERS=" | ||
+ | SHUTDOWN=savestate | ||
+ | |||
+ | VBOXWEB_USER=vbox | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | -> vboxwebsr 25104 | ||
+ | |||
+ | |||
+ | |||
+ | **ohne root-Rechte** : Ggf. muss das unit-file abgeändert werden (Ubuntu 5.1.x, ab 5.2.x nicht mehr) | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | [Unit] | ||
+ | Description=VirtualBox Web Service | ||
+ | After=virtualbox.service | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | ExecStart=/ | ||
+ | PIDFile=/ | ||
+ | User=vbox | ||
+ | Group=vboxusers | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | Debian Jessie: | ||
+ | < | ||
+ | [Unit] | ||
+ | SourcePath=/ | ||
+ | Description= | ||
+ | Before=runlevel2.target runlevel3.target runlevel4.target runlevel5.target shutdown.target | ||
+ | After=vboxdrv.service | ||
+ | Conflicts=shutdown.target | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | Restart=no | ||
+ | TimeoutSec=5min | ||
+ | IgnoreSIGPIPE=no | ||
+ | KillMode=process | ||
+ | GuessMainPID=no | ||
+ | RemainAfterExit=yes | ||
+ | ExecStart=/ | ||
+ | ExecStop=/ | ||
+ | User=vbox | ||
+ | Group=vboxusers | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | < | ||
+ | diff -u / | ||
+ | --- / | ||
+ | +++ / | ||
+ | @@ -146,10 +146,7 @@ | ||
+ | fi | ||
+ | # prevent inheriting this setting to VBoxSVC | ||
+ | unset VBOX_RELEASE_LOG_DEST | ||
+ | - start-stop-daemon --start --user $VBOXWEB_USER --exec $binary $PARAMS > /dev/null 2>&1 | ||
+ | - # does not work: | ||
+ | - # start_daemon $VBOXWEB_USER $binary $PARAMS > /dev/null 2>&1 | ||
+ | - | ||
+ | + start_daemon $VBOXWEB_USER $binary $PARAMS > /dev/null 2>&1 | ||
+ | # ugly: wait until the final process has forked | ||
+ | sleep .1 | ||
+ | | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | < | ||
+ | Aug 05 18:41:26 server1 vboxweb-service.sh[5257]: | ||
+ | Aug 05 18:41:26 server1 vboxweb-service.sh[5257]: | ||
+ | Aug 05 18:41:26 server1 vboxweb-service.sh[5257]: | ||
+ | Aug 05 18:41:26 server1 vboxweb-service.sh[5257]: | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | mkdir / | ||
+ | chown vbox.vboxusers / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | KERNEL==" | ||
+ | KERNEL==" | ||
+ | KERNEL==" | ||
+ | </ | ||
+ | |||
+ | |||
+ | ''/ | ||
+ | -> ggf. public IP setzen: -H 1.2.3.4 | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | < | ||
+ | Created symlink from / | ||
+ | </ | ||
+ | |||
+ | Shell setzen nötig??? -> | ||
+ | <code bash> | ||
+ | |||
+ | LAMP installieren: | ||
+ | |||
+ | |||
+ | < | ||
+ | < | ||
+ | |||
+ | ServerName Host.domain.tld | ||
+ | ServerAdmin webmaster@domain.tld | ||
+ | DocumentRoot "/ | ||
+ | |||
+ | |||
+ | SSLEngine On | ||
+ | SSLProtocol ALL -SSLv2 -SSLv3 | ||
+ | |||
+ | SSLHonorCipherOrder On | ||
+ | SSLCipherSuite ' | ||
+ | |||
+ | < | ||
+ | Header always set Strict-Transport-Security " | ||
+ | </ | ||
+ | |||
+ | SSLCertificateFile / | ||
+ | SSLCertificateKeyFile / | ||
+ | SSLCACertificateFile / | ||
+ | |||
+ | ErrorLog ${APACHE_LOG_DIR}/ | ||
+ | CustomLog ${APACHE_LOG_DIR}/ | ||
+ | |||
+ | < | ||
+ | Options -Indexes -MultiViews +FollowSymLinks +ExecCGI | ||
+ | AllowOverride AuthConfig FileInfo Limit Indexes | ||
+ | Order allow,deny | ||
+ | allow from all | ||
+ | # Apache 2.4+: Require all granted | ||
+ | Require all granted | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | |||
+ | phpvirtualbox -> config.php erzeugen | ||
+ | |||
+ | Login mit: admin / admin | ||
+ | |||
+ | <code bash> | ||
+ | mkdir / | ||
+ | chown vbox.vboxusers / | ||
+ | |||
+ | mkdir / | ||
+ | chown vbox.vboxusers / | ||
+ | </ | ||
+ | |||
+ | **Einschränkungen**: | ||
+ | * Remotedesktop geht nur mit Außen-IP (nicht ::1 127.0.0.1 / localhost): | ||
+ | * leider basiert das plugin von phpvirtualbox auf flash (funktioniert bei Firefox nicht) | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | # Set this to 1 if you would like the virtualbox modules to be loaded by | ||
+ | # the init script. | ||
+ | LOAD_VBOXDRV_MODULE=1 | ||
+ | |||
+ | # SHUTDOWN_USERS=" | ||
+ | # check for running VMs of user ' | ||
+ | # ' | ||
+ | # SHUTDOWN=poweroff | ||
+ | # SHUTDOWN=acpibutton | ||
+ | # SHUTDOWN=savestate | ||
+ | # | ||
+ | # | ||
+ | # 30 seconds for the VMs to shutdown | ||
+ | SHUTDOWN_USERS=" | ||
+ | SHUTDOWN=savestate | ||
+ | |||
+ | VBOXWEB_USER=vbox | ||
+ | </ | ||
+ | |||
+ | |||
+ | === Quellen === | ||
+ | |||
+ | - https:// | ||
+ | - https:// | ||
+ | - https:// | ||
+ | - Windows: https:// | ||
+ | - https:// | ||
+ | - https:// | ||
+ | - https:// | ||
+ | - https:// | ||
+ | - https:// | ||
+ | |||
+ | |||
+ | |||
+ | === upgrade-Probleme === | ||
+ | |||
+ | :!: darauf achten das ältere dkms-Pakete deinstalliert wurden und z.B. 5.2.x auch mit dem richtigen Kernelmodul läuft: '' | ||
+ | Fehlermeldung: | ||
+ | |||
+ | |||
+ | :!: nur wenn o.g. workaround überhaupt nötig ist, wenn der Service immer noch als root läuft kommt diese Fehlermeldung: | ||
+ | |||
+ | Nach dem Paket-upgrade von virtualbox wird immer wieder das unit-file zurückgesetzt, | ||
+ | ''/ | ||
+ | < | ||
+ | User=vbox | ||
+ | Group=vboxusers | ||
+ | </ | ||
+ | |||
+ | cat / | ||
+ | < | ||
+ | [Unit] | ||
+ | Description=VirtualBox Web Service | ||
+ | After=virtualbox.service | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | ExecStart=/ | ||
+ | PIDFile=/ | ||
+ | User=vbox | ||
+ | Group=vboxusers | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | systemctl daemon-reload | ||
+ | systemctl restart vboxweb.service | ||
+ | </ | ||
+ | Bei upgrades geht (regelmäßig) kaputt: | ||
+ | |||
+ | ''/ | ||
+ | < | ||
+ | User=vbox | ||
+ | Group=vboxusers | ||
+ | </ | ||
+ | |||
+ | Außerdem muss die Datei ''/ | ||
+ | < | ||
+ | # Set this to 1 if you would like the virtualbox modules to be loaded by | ||
+ | # the init script. | ||
+ | LOAD_VBOXDRV_MODULE=1 | ||
+ | |||
+ | # SHUTDOWN_USERS=" | ||
+ | # check for running VMs of user ' | ||
+ | # ' | ||
+ | # SHUTDOWN=poweroff | ||
+ | # SHUTDOWN=acpibutton | ||
+ | # SHUTDOWN=savestate | ||
+ | # | ||
+ | # | ||
+ | # 30 seconds for the VMs to shutdown | ||
+ | SHUTDOWN_USERS=" | ||
+ | SHUTDOWN=savestate | ||
+ | |||
+ | VBOXWEB_USER=vbox | ||
+ | </ | ||
+ | |||
+ | ==== phpvirtualbox ==== | ||
+ | |||
+ | |||
+ | |||
+ | ==== CLI ==== | ||
+ | |||
+ | Config " | ||
+ | |||
+ | '' | ||
+ | VBoxManage list vms'' | ||
+ | |||
+ | " | ||
+ | |||
+ | < | ||
+ | VBoxManage --help | ||
+ | Oracle VM VirtualBox Command Line Management Interface Version 5.0.40_Ubuntu | ||
+ | (C) 2005-2017 Oracle Corporation | ||
+ | All rights reserved. | ||
+ | |||
+ | Usage: | ||
+ | |||
+ | VBoxManage [< | ||
+ | |||
+ | |||
+ | General Options: | ||
+ | |||
+ | [-v|--version] | ||
+ | [-q|--nologo] | ||
+ | [--settingspw < | ||
+ | [--settingspwfile < | ||
+ | |||
+ | |||
+ | Commands: | ||
+ | |||
+ | list [--long|-l] | ||
+ | intnets|bridgedifs|hostonlyifs|natnets|dhcpservers| | ||
+ | hostinfo|hostcpuids|hddbackends|hdds|dvds|floppies| | ||
+ | usbhost|usbfilters|systemproperties|extpacks| | ||
+ | groups|webcams|screenshotformats | ||
+ | |||
+ | showvminfo | ||
+ | [--machinereadable] | ||
+ | showvminfo | ||
+ | |||
+ | registervm | ||
+ | |||
+ | unregistervm | ||
+ | |||
+ | createvm | ||
+ | [--groups < | ||
+ | [--ostype < | ||
+ | [--register] | ||
+ | [--basefolder < | ||
+ | [--uuid < | ||
+ | |||
+ | modifyvm | ||
+ | [--name < | ||
+ | [--groups < | ||
+ | [--description < | ||
+ | [--ostype < | ||
+ | [--iconfile < | ||
+ | [--memory < | ||
+ | [--pagefusion on|off] | ||
+ | [--vram < | ||
+ | [--acpi on|off] | ||
+ | [--pciattach 03:04.0] | ||
+ | [--pciattach 03: | ||
+ | [--pcidetach 03:04.0] | ||
+ | [--ioapic on|off] | ||
+ | [--hpet on|off] | ||
+ | [--triplefaultreset on|off] | ||
+ | [--paravirtprovider none|default|legacy|minimal| | ||
+ | hyperv|kvm] | ||
+ | [--hwvirtex on|off] | ||
+ | [--nestedpaging on|off] | ||
+ | [--largepages on|off] | ||
+ | [--vtxvpid on|off] | ||
+ | [--vtxux on|off] | ||
+ | [--pae on|off] | ||
+ | [--longmode on|off] | ||
+ | [--cpuid-portability-level < | ||
+ | [--cpuidset < | ||
+ | [--cpuidremove < | ||
+ | [--cpuidremoveall] | ||
+ | [--hardwareuuid < | ||
+ | [--cpus < | ||
+ | [--cpuhotplug on|off] | ||
+ | [--plugcpu <id>] | ||
+ | [--unplugcpu <id>] | ||
+ | [--cpuexecutioncap < | ||
+ | [--rtcuseutc on|off] | ||
+ | [--graphicscontroller none|vboxvga|vmsvga] | ||
+ | [--monitorcount < | ||
+ | [--accelerate3d on|off] | ||
+ | [--accelerate2dvideo on|off] | ||
+ | [--firmware bios|efi|efi32|efi64] | ||
+ | [--chipset ich9|piix3] | ||
+ | [--bioslogofadein on|off] | ||
+ | [--bioslogofadeout on|off] | ||
+ | [--bioslogodisplaytime < | ||
+ | [--bioslogoimagepath < | ||
+ | [--biosbootmenu disabled|menuonly|messageandmenu] | ||
+ | [--biossystemtimeoffset < | ||
+ | [--biospxedebug on|off] | ||
+ | [--boot< | ||
+ | [--nic< | ||
+ | generic|natnetwork] | ||
+ | [--nictype< | ||
+ | 82540EM|82543GC|82545EM| | ||
+ | virtio] | ||
+ | [--cableconnected< | ||
+ | [--nictrace< | ||
+ | [--nictracefile< | ||
+ | [--nicproperty< | ||
+ | [--nicspeed< | ||
+ | [--nicbootprio< | ||
+ | [--nicpromisc< | ||
+ | [--nicbandwidthgroup< | ||
+ | [--bridgeadapter< | ||
+ | [--hostonlyadapter< | ||
+ | [--intnet< | ||
+ | [--nat-network< | ||
+ | [--nicgenericdrv< | ||
+ | [--natnet< | ||
+ | [--natsettings< | ||
+ | [< | ||
+ | [< | ||
+ | [--natpf< | ||
+ | < | ||
+ | [--natpf< | ||
+ | [--nattftpprefix< | ||
+ | [--nattftpfile< | ||
+ | [--nattftpserver< | ||
+ | [--natbindip< | ||
+ | [--natdnspassdomain< | ||
+ | [--natdnsproxy< | ||
+ | [--natdnshostresolver< | ||
+ | [--nataliasmode< | ||
+ | | ||
+ | [--macaddress< | ||
+ | [--mouse ps2|usb|usbtablet|usbmultitouch] | ||
+ | [--keyboard ps2|usb | ||
+ | [--uart< | ||
+ | [--uartmode< | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | file < | ||
+ | < | ||
+ | [--lpt< | ||
+ | [--lptmode< | ||
+ | [--guestmemoryballoon < | ||
+ | [--audio none|null|oss|alsa|pulse] | ||
+ | [--audiocontroller ac97|hda|sb16] | ||
+ | [--audiocodec stac9700|ad1980|stac9221|sb16] | ||
+ | [--clipboard disabled|hosttoguest|guesttohost| | ||
+ | | ||
+ | [--draganddrop disabled|hosttoguest] | ||
+ | [--vrde on|off] | ||
+ | [--vrdeextpack default|< | ||
+ | [--vrdeproperty < | ||
+ | [--vrdeport < | ||
+ | [--vrdeaddress < | ||
+ | [--vrdeauthtype null|external|guest] | ||
+ | [--vrdeauthlibrary default|< | ||
+ | [--vrdemulticon on|off] | ||
+ | [--vrdereusecon on|off] | ||
+ | [--vrdevideochannel on|off] | ||
+ | [--vrdevideochannelquality < | ||
+ | [--usb on|off] | ||
+ | [--usbehci on|off] | ||
+ | [--usbxhci on|off] | ||
+ | [--usbrename < | ||
+ | [--snapshotfolder default|< | ||
+ | [--teleporter on|off] | ||
+ | [--teleporterport < | ||
+ | [--teleporteraddress < | ||
+ | [--teleporterpassword < | ||
+ | [--teleporterpasswordfile < | ||
+ | [--tracing-enabled on|off] | ||
+ | [--tracing-config < | ||
+ | [--tracing-allow-vm-access on|off] | ||
+ | [--usbcardreader on|off] | ||
+ | [--autostart-enabled on|off] | ||
+ | [--autostart-delay < | ||
+ | [--videocap on|off] | ||
+ | [--videocapscreens all|< | ||
+ | [--videocapfile < | ||
+ | [--videocapres < | ||
+ | [--videocaprate < | ||
+ | [--videocapfps < | ||
+ | [--videocapmaxtime <ms>] | ||
+ | [--videocapmaxsize <MB>] | ||
+ | [--videocapopts < | ||
+ | [--defaultfrontend default|< | ||
+ | |||
+ | clonevm | ||
+ | [--snapshot < | ||
+ | [--mode machine|machineandchildren|all] | ||
+ | [--options link|keepallmacs|keepnatmacs| | ||
+ | | ||
+ | [--name < | ||
+ | [--groups < | ||
+ | [--basefolder < | ||
+ | [--uuid < | ||
+ | [--register] | ||
+ | |||
+ | import | ||
+ | [--dry-run|-n] | ||
+ | [--options keepallmacs|keepnatmacs|importtovdi] | ||
+ | [more options] | ||
+ | (run with -n to have options displayed | ||
+ | for a particular OVF) | ||
+ | |||
+ | export | ||
+ | [--legacy09|--ovf09|--ovf10|--ovf20] | ||
+ | [--manifest] | ||
+ | [--iso] | ||
+ | [--options manifest|iso|nomacs|nomacsbutnat] | ||
+ | [--vsys <number of virtual system>] | ||
+ | [--product <product name>] | ||
+ | [--producturl <product url>] | ||
+ | [--vendor <vendor name>] | ||
+ | [--vendorurl <vendor url>] | ||
+ | [--version <version info>] | ||
+ | [--description < | ||
+ | [--eula <license text>] | ||
+ | [--eulafile < | ||
+ | |||
+ | startvm | ||
+ | [--type gui|sdl|headless|separate] | ||
+ | |||
+ | controlvm | ||
+ | pause|resume|reset|poweroff|savestate| | ||
+ | acpipowerbutton|acpisleepbutton| | ||
+ | keyboardputscancode <hex> [< | ||
+ | setlinkstate< | ||
+ | nic< | ||
+ | | ||
+ | nictrace< | ||
+ | nictracefile< | ||
+ | nicproperty< | ||
+ | nicpromisc< | ||
+ | natpf< | ||
+ | < | ||
+ | natpf< | ||
+ | guestmemoryballoon < | ||
+ | usbattach < | ||
+ | [--capturefile < | ||
+ | usbdetach < | ||
+ | clipboard disabled|hosttoguest|guesttohost| | ||
+ | bidirectional | | ||
+ | draganddrop disabled|hosttoguest | | ||
+ | vrde on|off | | ||
+ | vrdeport < | ||
+ | vrdeproperty < | ||
+ | vrdevideochannelquality < | ||
+ | setvideomodehint < | ||
+ | [[< | ||
+ | [< | ||
+ | screenshotpng < | ||
+ | videocap on|off | | ||
+ | videocapscreens all|none|< | ||
+ | videocapfile < | ||
+ | videocapres < | ||
+ | videocaprate < | ||
+ | videocapfps <fps> | ||
+ | videocapmaxtime <ms> | ||
+ | videocapmaxsize <MB> | ||
+ | setcredentials < | ||
+ | | ||
+ | < | ||
+ | | ||
+ | teleport --host < | ||
+ | | ||
+ | | ||
+ | --password < | ||
+ | plugcpu <id> | | ||
+ | unplugcpu <id> | | ||
+ | cpuexecutioncap < | ||
+ | webcam <attach [path [settings]]> | ||
+ | addencpassword <id> | ||
+ | < | ||
+ | | ||
+ | removeencpassword <id> | ||
+ | removeallencpasswords | ||
+ | |||
+ | discardstate | ||
+ | |||
+ | adoptstate | ||
+ | |||
+ | snapshot | ||
+ | take < | ||
+ | | ||
+ | delete < | ||
+ | restore < | ||
+ | restorecurrent | | ||
+ | edit < | ||
+ | | ||
+ | | ||
+ | list [--details|--machinereadable] | ||
+ | showvminfo < | ||
+ | |||
+ | closemedium | ||
+ | [--delete] | ||
+ | |||
+ | storageattach | ||
+ | --storagectl < | ||
+ | [--port < | ||
+ | [--device < | ||
+ | [--type dvddrive|hdd|fdd] | ||
+ | [--medium none|emptydrive|additions| | ||
+ | < | ||
+ | [--mtype normal|writethrough|immutable|shareable| | ||
+ | | ||
+ | [--comment < | ||
+ | [--setuuid < | ||
+ | [--setparentuuid < | ||
+ | [--passthrough on|off] | ||
+ | [--tempeject on|off] | ||
+ | [--nonrotational on|off] | ||
+ | [--discard on|off] | ||
+ | [--hotpluggable on|off] | ||
+ | [--bandwidthgroup < | ||
+ | [--forceunmount] | ||
+ | [--server < | ||
+ | [--target < | ||
+ | [--tport < | ||
+ | [--lun < | ||
+ | [--encodedlun < | ||
+ | [--username < | ||
+ | [--password < | ||
+ | [--initiator < | ||
+ | [--intnet] | ||
+ | |||
+ | storagectl | ||
+ | --name < | ||
+ | [--add ide|sata|scsi|floppy|sas] | ||
+ | [--controller LSILogic|LSILogicSAS|BusLogic| | ||
+ | IntelAHCI|PIIX3|PIIX4|ICH6|I82078] | ||
+ | [--portcount < | ||
+ | [--hostiocache on|off] | ||
+ | [--bootable on|off] | ||
+ | [--rename < | ||
+ | [--remove] | ||
+ | |||
+ | bandwidthctl | ||
+ | add < | ||
+ | --limit < | ||
+ | set < | ||
+ | --limit < | ||
+ | remove < | ||
+ | list [--machinereadable] | ||
+ | (limit units: k=kilobit, m=megabit, g=gigabit, | ||
+ | K=kilobyte, M=megabyte, G=gigabyte) | ||
+ | |||
+ | showmediuminfo | ||
+ | |||
+ | createmedium | ||
+ | [--size < | ||
+ | [--diffparent < | ||
+ | [--format VDI|VMDK|VHD] (default: VDI) | ||
+ | [--variant Standard, | ||
+ | |||
+ | modifymedium | ||
+ | [--type normal|writethrough|immutable|shareable| | ||
+ | readonly|multiattach] | ||
+ | [--autoreset on|off] | ||
+ | [--property < | ||
+ | [--compact] | ||
+ | [--resize < | ||
+ | |||
+ | clonemedium | ||
+ | [--format VDI|VMDK|VHD|RAW|< | ||
+ | [--variant Standard, | ||
+ | [--existing] | ||
+ | |||
+ | mediumproperty | ||
+ | < | ||
+ | |||
+ | [disk|dvd|floppy] get < | ||
+ | < | ||
+ | |||
+ | [disk|dvd|floppy] delete < | ||
+ | < | ||
+ | |||
+ | encryptmedium | ||
+ | [--newpassword < | ||
+ | [--oldpassword < | ||
+ | [--cipher <cipher identifier> | ||
+ | [--newpasswordid < | ||
+ | |||
+ | checkmediumpwd | ||
+ | <pwd file>|- | ||
+ | |||
+ | convertfromraw | ||
+ | [--format VDI|VMDK|VHD] | ||
+ | [--variant Standard, | ||
+ | [--uuid < | ||
+ | convertfromraw | ||
+ | [--format VDI|VMDK|VHD] | ||
+ | [--variant Standard, | ||
+ | [--uuid < | ||
+ | |||
+ | getextradata | ||
+ | < | ||
+ | |||
+ | setextradata | ||
+ | <key> | ||
+ | [< | ||
+ | |||
+ | setproperty | ||
+ | hwvirtexclusive on|off | | ||
+ | vrdeauthlibrary default|< | ||
+ | websrvauthlibrary default|null|< | ||
+ | vrdeextpack null|< | ||
+ | autostartdbpath null|< | ||
+ | loghistorycount < | ||
+ | defaultfrontend default|< | ||
+ | logginglevel <log setting> | ||
+ | |||
+ | usbfilter | ||
+ | --target < | ||
+ | --name < | ||
+ | --action ignore|hold (global filters only) | ||
+ | [--active yes|no] (yes) | ||
+ | [--vendorid < | ||
+ | [--productid < | ||
+ | [--revision < | ||
+ | [--manufacturer < | ||
+ | [--product < | ||
+ | [--remote yes|no] (null, VM filters only) | ||
+ | [--serialnumber < | ||
+ | [--maskedinterfaces < | ||
+ | |||
+ | usbfilter | ||
+ | --target < | ||
+ | [--name < | ||
+ | [--action ignore|hold] (global filters only) | ||
+ | [--active yes|no] | ||
+ | [--vendorid < | ||
+ | [--productid < | ||
+ | [--revision < | ||
+ | [--manufacturer < | ||
+ | [--product < | ||
+ | [--remote yes|no] (null, VM filters only) | ||
+ | [--serialnumber < | ||
+ | [--maskedinterfaces < | ||
+ | |||
+ | usbfilter | ||
+ | --target < | ||
+ | |||
+ | sharedfolder | ||
+ | --name < | ||
+ | [--transient] [--readonly] [--automount] | ||
+ | |||
+ | sharedfolder | ||
+ | --name < | ||
+ | |||
+ | guestproperty | ||
+ | < | ||
+ | |||
+ | guestproperty | ||
+ | < | ||
+ | |||
+ | guestproperty | ||
+ | < | ||
+ | |||
+ | guestproperty | ||
+ | [--patterns < | ||
+ | |||
+ | guestproperty | ||
+ | [--timeout < | ||
+ | |||
+ | guestcontrol | ||
+ | [--username < | ||
+ | [--passwordfile < | ||
+ | |||
+ | run [common-options] | ||
+ | [--exe <path to executable> | ||
+ | [-E|--putenv < | ||
+ | [--ignore-operhaned-processes] [--no-profile] | ||
+ | [--no-wait-stdout|--wait-stdout] | ||
+ | [--no-wait-stderr|--wait-stderr] | ||
+ | [--dos2unix] [--unix2dos] | ||
+ | -- < | ||
+ | |||
+ | start [common-options] | ||
+ | [--exe <path to executable> | ||
+ | [-E|--putenv < | ||
+ | [--ignore-operhaned-processes] [--no-profile] | ||
+ | -- < | ||
+ | |||
+ | copyfrom [common-options] | ||
+ | [--dryrun] [--follow] [-R|--recursive] | ||
+ | < | ||
+ | |||
+ | copyfrom [common-options] | ||
+ | [--dryrun] [--follow] [-R|--recursive] | ||
+ | [--target-directory < | ||
+ | < | ||
+ | |||
+ | copyto [common-options] | ||
+ | [--dryrun] [--follow] [-R|--recursive] | ||
+ | < | ||
+ | |||
+ | copyto [common-options] | ||
+ | [--dryrun] [--follow] [-R|--recursive] | ||
+ | [--target-directory < | ||
+ | < | ||
+ | |||
+ | mkdir|createdir[ectory] [common-options] | ||
+ | [--parents] [--mode < | ||
+ | <guest directory> | ||
+ | |||
+ | rmdir|removedir[ectory] [common-options] | ||
+ | [-R|--recursive] | ||
+ | <guest directory> | ||
+ | |||
+ | removefile|rm [common-options] [-f|--force] | ||
+ | <guest file> [...] | ||
+ | |||
+ | mv|move|ren[ame] [common-options] | ||
+ | < | ||
+ | |||
+ | mktemp|createtemp[orary] [common-options] | ||
+ | [--secure] [--mode < | ||
+ | < | ||
+ | |||
+ | stat [common-options] | ||
+ | < | ||
+ | |||
+ | guestcontrol | ||
+ | |||
+ | list < | ||
+ | |||
+ | closeprocess [common-options] | ||
+ | < | ||
+ | | --session-name <name or pattern> | ||
+ | < | ||
+ | |||
+ | closesession [common-options] | ||
+ | < --all | --session-id <ID> | ||
+ | | --session-name <name or pattern> > | ||
+ | |||
+ | updatega|updateguestadditions|updateadditions | ||
+ | [--source <guest additions .ISO>] | ||
+ | [--wait-start] [common-options] | ||
+ | [-- [< | ||
+ | |||
+ | watch [common-options] | ||
+ | |||
+ | debugvm | ||
+ | dumpguestcore --filename < | ||
+ | info < | ||
+ | injectnmi | | ||
+ | log [--release|--debug] < | ||
+ | logdest [--release|--debug] < | ||
+ | logflags [--release|--debug] < | ||
+ | osdetect | | ||
+ | osinfo | | ||
+ | osdmesg [--lines|-n <N>] | | ||
+ | getregisters [--cpu <id>] < | ||
+ | setregisters [--cpu <id>] < | ||
+ | show [--human-readable|--sh-export|--sh-eval| | ||
+ | --cmd-set] | ||
+ | < | ||
+ | [[opt] what ...] | | ||
+ | statistics [--reset] [--pattern < | ||
+ | [--descriptions] | ||
+ | |||
+ | metrics | ||
+ | | ||
+ | |||
+ | metrics | ||
+ | [--period < | ||
+ | [--samples < | ||
+ | [--list] | ||
+ | [*|host|< | ||
+ | |||
+ | metrics | ||
+ | |||
+ | metrics | ||
+ | [--list] | ||
+ | [*|host|< | ||
+ | |||
+ | metrics | ||
+ | [--list] | ||
+ | [*|host|< | ||
+ | |||
+ | metrics | ||
+ | [--period < | ||
+ | [--samples < | ||
+ | [--list] | ||
+ | [--detach] | ||
+ | [*|host|< | ||
+ | |||
+ | natnetwork | ||
+ | --network < | ||
+ | [--enable|--disable] | ||
+ | [--dhcp on|off] | ||
+ | [--port-forward-4 < | ||
+ | [--loopback-4 < | ||
+ | [--ipv6 on|off] | ||
+ | [--port-forward-6 < | ||
+ | [--loopback-6 < | ||
+ | |||
+ | natnetwork | ||
+ | |||
+ | natnetwork | ||
+ | [--network < | ||
+ | [--enable|--disable] | ||
+ | [--dhcp on|off] | ||
+ | [--port-forward-4 < | ||
+ | [--loopback-4 < | ||
+ | [--ipv6 on|off] | ||
+ | [--port-forward-6 < | ||
+ | [--loopback-6 < | ||
+ | |||
+ | natnetwork | ||
+ | |||
+ | natnetwork | ||
+ | |||
+ | hostonlyif | ||
+ | [--dhcp | | ||
+ | --ip< | ||
+ | --ipv6< | ||
+ | create | | ||
+ | remove < | ||
+ | |||
+ | dhcpserver | ||
+ | | ||
+ | [--ip < | ||
+ | --netmask < | ||
+ | --lowerip < | ||
+ | --upperip < | ||
+ | [--enable | --disable] | ||
+ | |||
+ | dhcpserver | ||
+ | | ||
+ | |||
+ | Introspection and guest debugging: | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | [group-settings...] | ||
+ | VBoxManage debugvm < | ||
+ | [destinations...] | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | VBoxManage debugvm < | ||
+ | [reg-set.reg-name=value...] | ||
+ | VBoxManage debugvm < | ||
+ | [--sh-eval] | [--cmd-set]] [settings-item...] | ||
+ | VBoxManage debugvm < | ||
+ | [--pattern=pattern] | ||
+ | Extension package management: | ||
+ | |||
+ | VBoxManage extpack install [--replace] < | ||
+ | VBoxManage extpack uninstall [--force] < | ||
+ | VBoxManage extpack cleanup | ||
+ | </ | ||