liszca
(liszca)
February 15, 2025, 3:38pm
1
How can I remove a GPU from a VM without starting Incus. The problem is as soon as I start incus the VM seems to be started and locks up the host with a black screen.
how can I prevent this VM from ever starting again when Incus starts and/or remove the GPU?
simos
(Simos Xenitellis)
February 15, 2025, 5:21pm
2
Do any of the boot.*
options help you here? There’s a boot.autostart
, of bool type.
liszca
(liszca)
February 15, 2025, 5:51pm
3
I didn’t figure out how I can enable that, can this be put into backup.yaml?
because incus config complains about missing socket …
stgraber
(Stéphane Graber)
February 15, 2025, 6:32pm
4
Ah, I just responded with how to do that in the chat.
liszca
(liszca)
February 15, 2025, 7:11pm
5
That worked thanks for the help.
Inserted file: /var/lib/incus/database/patch.global.sql
with content:
INSERT INTO profiles_config (profile_id, key, value) VALUES (1, "boot.autostart", "false");
After that I edited config to remove the GPU from the VM.
To switch it back on:
UPDATE profiles_config SET value = "true" WHERE profile_id =1;
1 Like