mirror of
https://github.com/dockur/macos.git
synced 2026-10-12 02:13:08 +00:00
docs: Environment variables (#558)
This commit is contained in:
+4
-3
@@ -33,7 +33,7 @@ An empty default means the variable is unset and its value is determined automat
|
||||
|---|---|---|
|
||||
| `DISK_SIZE` | `64G` | Size of the primary disk. |
|
||||
| `DISK_FMT` | `raw` | Disk image format: `raw` or `qcow2`. |
|
||||
| `DISK_TYPE` | `blk` | Disk device type, such as `sata`, `scsi`, `nvme`, or `blk`. |
|
||||
| `DISK_TYPE` | `blk` | Disk device type, such as `ide`, `scsi`, or `blk`. |
|
||||
| `DISK_CACHE` | `none` | Disk cache mode, such as `none` or `writeback`. |
|
||||
| `DISK_IO` | `native` | Disk I/O mode, such as `native`, `threads`, or `io_uring`. |
|
||||
| `DISK_DISCARD` | `unmap` | Discard/TRIM mode for the primary disk. |
|
||||
@@ -71,7 +71,6 @@ An empty default means the variable is unset and its value is determined automat
|
||||
| Variable | Default | Description |
|
||||
|---|---|---|
|
||||
| `DISPLAY` | `web` | Display backend, such as `web`, `vnc`, `disabled`, or `none`. |
|
||||
| `LOSSY` | `N` | Enables lossy VNC compression to reduce bandwidth usage. |
|
||||
| `VGA` | `vmware` | QEMU video adapter model. |
|
||||
| `WIDTH` | `1920` | Display width configured for macOS and OpenCore. |
|
||||
| `HEIGHT` | `1080` | Display height configured for macOS and OpenCore. |
|
||||
@@ -83,8 +82,8 @@ An empty default means the variable is unset and its value is determined automat
|
||||
| `WEB` | `Y` | Enables the web interface. |
|
||||
| `WEB_PORT` | `8006` | Port for the web interface. |
|
||||
| `VNC_PORT` | `5900` | Port for the VNC server. |
|
||||
| `LOSSY` | `N` | Enables lossy VNC compression to reduce bandwidth usage. |
|
||||
| `AUDIO` | `N` | Streams guest audio to the web viewer. |
|
||||
| `SOUND` | `usb-audio` | QEMU audio device used by the web viewer. |
|
||||
| `PROTECT` | `N` | Enables password protection for the web interface. |
|
||||
|
||||
## ⚙️ System
|
||||
@@ -93,8 +92,10 @@ An empty default means the variable is unset and its value is determined automat
|
||||
|---|---|---|
|
||||
| `MACHINE` | `q35` | QEMU machine type. |
|
||||
| `PCI_BUS` | `pcie.0` | Overrides the PCI bus used for attached devices. |
|
||||
| `RNG` | `Y` | Adds the Virtio RNG device to the machine. |
|
||||
| `HPET` | `off` | QEMU HPET timer setting. |
|
||||
| `VMPORT` | `off` | QEMU VMware port setting. |
|
||||
| `SOUND` | `usb-audio` | QEMU audio device used when `AUDIO=Y`. |
|
||||
| `ARGUMENTS` | | Additional raw arguments appended to the QEMU command line. |
|
||||
|
||||
## 🚀 Boot
|
||||
|
||||
Reference in New Issue
Block a user