Wrong GPU Assigned

,

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?

Do any of the boot.* options help you here? There’s a boot.autostart, of bool type.

I didn’t figure out how I can enable that, can this be put into backup.yaml?

because incus config complains about missing socket …

Ah, I just responded with how to do that in the chat.

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