KVM Plugin : Edit xml files

  • Hi,
    I tried to change some virtual machine configurations in the xml file from the plugin (with the virtual machine turned off) but after saving the configuration the xml file returns to the original one ignoring the changes.
    Why does this happen?
    Thanks

    • Official Post

    Why does this happen?

    libvirt must not have liked your change. What change did you make?

    omv 7.7.3-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • From suggestions found on the internet and also with al IA ...

    I inserted the code to force the keyboard layout in Italian for spice (<keyboard layout='it'/>):

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>

    <image compression='off'/>

    <keyboard layout='it'/>

    </graphics>

    However I noticed that any change to the xml file (both liked and not liked) is not maintained and the system always restores the original version.

    I also tried to change the resolution in the following way:

    <graphics type='spice' autoport='yes' listen='0.0.0.0'>

    <image compression='off'/>

    <keyboard layout='it'/>

    <video resolution='1920x1080'/>

    </graphics>

    but nothing ... the file is not updated and always returns to the original.

    No type of change is saved.

    • Official Post

    Neither of your changes are correct.


    keyboard layout would be like this:

    Code
    <graphics type='spice' autoport='yes' listen='0.0.0.0' keymap='it'>
      <listen type='address' address='0.0.0.0'/>
      <image compression='off'/>
    </graphics>

    resolution is in the video section and would require change from virtio to qxl. Since the guest usually determines the resolution, I don't know why you need this.

    omv 7.7.3-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!