Is your feature request related to a problem? Please describe.
It's not possible to start a VM with overcommit memory from Home Assistant:
If the "TrueNAS: VM Start" service is called and the VM is unable to start because of low memory availability, the VM become unavailable.
Describe the solution you'd like
An update to the service "TrueNAS: VM Start" to be able to send a VM Start to TrueNAS with an option to Overcommit memory (or not). The "Automation: Trigger" service has such a toggle.
OR a separate service "TrueNAS: VM Start with Overcommit"
Describe alternatives you've considered
Manually start the VM from TrueNAS
Additional context
I know that we need to pass '{"overcommit": true}' (see the TrueNAS API documentation) to the start command, but I don't know how 🤔
Is your feature request related to a problem? Please describe.
It's not possible to start a VM with overcommit memory from Home Assistant: If the "TrueNAS: VM Start" service is called and the VM is unable to start because of low memory availability, the VM become unavailable.
Describe the solution you'd like
An update to the service "TrueNAS: VM Start" to be able to send a VM Start to TrueNAS with an option to Overcommit memory (or not). The "Automation: Trigger" service has such a toggle. OR a separate service "TrueNAS: VM Start with Overcommit"
Describe alternatives you've considered
Manually start the VM from TrueNAS
Additional context
I know that we need to pass
'{"overcommit": true}'
(see the TrueNAS API documentation) to the start command, but I don't know how 🤔