2023-05-23 21:38:32 +02:00
|
|
|
# The values in comments are the defaults.
|
|
|
|
|
|
|
|
|
|
"/Runner":
|
|
|
|
|
# The directory used to store data files. Defaults to (depending on
|
|
|
|
|
# values available):
|
|
|
|
|
# * $XDG_DATA_HOME/vmrunner/${vm.name}
|
|
|
|
|
# * $HOME/.local/share/vmrunner/${vm.name}
|
|
|
|
|
# * ./${vm.name}
|
|
|
|
|
# "dataDir": "$XDG_DATA_HOME"
|
|
|
|
|
|
|
|
|
|
# The directory used to store runtime files. Defaults to (depending on
|
|
|
|
|
# values available):
|
|
|
|
|
# * $XDG_RUNTIME_DIR/vmrunner/${vm.name}
|
|
|
|
|
# * /tmp/${USER}/vmrunner/${vm.name}
|
|
|
|
|
# * /tmp/vmrunner/${vm.name}
|
|
|
|
|
# "runtimeDir": "$XDG_RUNTIME_DIR/vmrunner/${vm.name}"
|
|
|
|
|
|
|
|
|
|
# The template to use. Resolved relative to /usr/share/vmrunner/templates.
|
|
|
|
|
# "template": "Standard-VM-latest.ftl.yaml"
|
|
|
|
|
|
|
|
|
|
# The template is copied to the data diretory when the VM starts for
|
|
|
|
|
# the first time. Subsequent starts use the copy unless this option is set.
|
|
|
|
|
# "updateTemplate": false
|
|
|
|
|
|
|
|
|
|
# Define the VM (required)
|
|
|
|
|
"vm":
|
|
|
|
|
# The VM's name (required)
|
|
|
|
|
"name": "test-vm"
|
|
|
|
|
|
|
|
|
|
# The machine's uuid. If none is specified, a uuid is generated
|
|
|
|
|
# and stored in the data directory. If the uuid is important
|
|
|
|
|
# (e.g. because licenses depend on it) it is recommaned to specify
|
|
|
|
|
# it here explicitly or to carefully backup the data directory.
|
|
|
|
|
# "uuid": "generated uuid"
|
|
|
|
|
|
|
|
|
|
# Whether to provide a software TPM (defaults to false)
|
|
|
|
|
# "useTpm": false
|
|
|
|
|
|
|
|
|
|
# How to boot:
|
|
|
|
|
# * bios
|
|
|
|
|
# * uefi
|
|
|
|
|
# * secure
|
|
|
|
|
# "bootMode": "uefi"
|
|
|
|
|
|
2023-06-04 13:31:13 +02:00
|
|
|
# When terminating, a graceful powerdown is attempted. If it
|
|
|
|
|
# doesn't succeed within the given timeout (seconds) SIGTERM
|
|
|
|
|
# is sent to Qemu.
|
|
|
|
|
# "powerdownTimeout": 60
|
|
|
|
|
|
2023-05-23 21:38:32 +02:00
|
|
|
# RAM settings
|
2023-05-28 21:35:13 +02:00
|
|
|
# "maximumRam": "1G"
|
|
|
|
|
# "currentRam": "1G"
|
2023-05-23 21:38:32 +02:00
|
|
|
|
2023-05-24 11:44:47 +02:00
|
|
|
# CPU settings
|
|
|
|
|
# "cpuModel": "host"
|
|
|
|
|
# Setting maximumCpus to 1 omits the "-smp" options. The defaults (0)
|
|
|
|
|
# cause the corresponding property to be omitted from the "-smp" option.
|
|
|
|
|
# If currentCpus is greater than maximumCpus, the latter is adjusted.
|
|
|
|
|
# "maximumCpus": 1
|
|
|
|
|
# "currentCpus": 1
|
|
|
|
|
# "cpuSockets": 0
|
|
|
|
|
# "diesPerSocket": 0
|
|
|
|
|
# "coresPerSocket": 0
|
|
|
|
|
# "threadsPerCore": 0
|
|
|
|
|
# "accelertor": "kvm"
|
|
|
|
|
|
2023-05-28 21:35:13 +02:00
|
|
|
# RTC settings.
|
|
|
|
|
# "rtcBase": "utc"
|
|
|
|
|
# "rtcClock": "rt"
|
|
|
|
|
|
|
|
|
|
"drives":
|
|
|
|
|
- "type": "ide-cd"
|
|
|
|
|
"bootindex": (undefined)
|
|
|
|
|
"file": (undefined)
|
2023-05-30 18:04:31 +02:00
|
|
|
|
|
|
|
|
# "spice":
|
|
|
|
|
# "port": 5900
|
|
|
|
|
# "usbRedirects": 2
|
2023-05-28 21:35:13 +02:00
|
|
|
|