Change defaults when creating a new VM

erik.deneve

Member
Mar 16, 2020
11
2
23
40
Is there a way to change the defaults when creating a new VM with the GUI?
For example we want to always enable 'Qemu Agent', or change the default 'graphical card' or 'Bios'.
 
  • Like
Reactions: aasami
There's no way to change the defaults without modifying the code.
But you can create a template for your defaults which you then clone and change the settings you want to customize. This can also be done via the API.
 
There's no way to change the defaults without modifying the code.
But you can create a template for your defaults which you then clone and change the settings you want to customize. This can also be done via the API.

Can we just change a file on the server? Or isn't it as easy as that?
 
  • Like
Reactions: aasami
No, a change of defaults would require changing the source code. All the changes would then be reverted on a package upgrade.
The easier option would be to use templates with those options set which you then clone and modify instead of creating a new VM.