mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-04-28 18:58:27 +00:00

Add a systemd service that runs the query-machine-capabilities binary at boot time to ensure that the machine capabilities are stored in the host-hw-capabilities.json file. Signed-off-by: Markus Frank <m.frank@proxmox.com>
14 lines
269 B
Desktop File
14 lines
269 B
Desktop File
[Unit]
|
|
Description=PVE Query Machine Capabilities
|
|
RequiresMountsFor=/run
|
|
Before=pve-ha-lrm.service
|
|
Before=pve-guests.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/libexec/qemu-server/query-machine-capabilities
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|