[SCALE] Expose additional VM customizations
Description
Activity
Kris Moore July 18, 2024 at 5:56 PM
Thank you for submitting this feature request! To better accommodate and gauge community interest for future versions of TrueNAS we have moved the submission process to our TrueNAS Community Forums. If this feature is still important and relevant for consideration, please refer to the links below on how to submit it for community voting and TrueNAS roadmap review.
Feature Requests Forum:
https://forums.truenas.com/c/features/12
Feature Requests FAQ:
https://forums.truenas.com/t/about-the-feature-requests-category-readme-first/8802
Andrew Barnes September 10, 2023 at 8:45 PM
+1. Also, see this ticket, pretty much the same sentiment:
Mandus Momberg March 10, 2023 at 6:24 PM
+1 from me as well.
This is in line with other requests like USB pass-through JIRA-LINK
Use cases this should cover is Custom qemu-settings.
Ideally, the ability to edit the XML and not having it overwritten by the GUI / Python Process that generates the VM.
SuperWhisk January 30, 2023 at 12:34 AM(edited)
Having an option like this under “Advanced Options” in the VM config would be a major value add for users who know what they are doing with KVM/libvirt. Even if there are plans to expand the options available in the GUI in the future, implementing this now would be an easy win for advanced users until the GUI is able to be expanded.
For example, there is another ticket ( ) that is asking for virtiofs filesystem mounting. This is already supported by the version of qemu installed (see /usr/lib/qemu/virtiofsd), there is just no way to access it through the middleware.
Erik Brandsberg January 16, 2023 at 8:07 PM(edited)
Definite +1 for me. I have a Jenkins instance that I want to set the disk cache mode to unsafe, as it basically doubles the performance of our tests. I can do this via virt-manager, but on reboot, the setting is lost. I would be happy if it simply didn’t wipe customization, even if it didn’t support adding them directly.
Overview
I have a requirement to tweak a few settings for VMs that aren't available in the current UI.
For example I would like to enable nested virtualization and change a NIC to be of type 'vmxnet3' so I can use nested ESXi.
After setting an alias for virsh, and using virsh to edit the VM manually the settings work, but any interaction with the VM via the TrueNAS UI results in the settings being wiped as expected.
I realize that TrueNAS SCALE is targeted as an 'appliance' but is there a way to either allow custom tweaking of the VM configuration through the TrueNAS interface so it applies through the middleware correctly.
As there is a great deal of possible configuration options, perhaps a way to edit the created XML directly?