I would love to help, but don’t know where to start.
TrueNAS Fangtooth is around the corner, on version RC1, and HAOS isn’t available in the list of virtual machine/container images.
“This has been the case for several years.” from a TrueNAS ticket support person, TrueNAS doesn’t support working with the shell, for things like Incus, and recently I had an issue where me working with shell in TrueNAS for HAOS incus virtual machine setup created this issue.
I would like to get Home Assistant available on the WebUI without putting my TrueNAS in harms way. Creating a linuxcontainers.org image for Home Assistant appears to be the only way, unless I run HAOS on top of an Ubuntu iso.
Wish I could contribute, but don’t know how to start with this to be honest, or if it’s even supported by linuxcontainers.org
In general I would say it depends a little bit on your skills and willingness diving into the unknown of using any kind of software.
All images you can pull and install on Incus are build by Distrobuilder. It is a bit of a learning curve to take, building your own custom images like you wish. I’m pretty sure it is possible to create a template for HAOS as it is based on one of the default linux distributions like debian, unbuntu, centos etc. Basically take the closest template from distrobuilder/doc/examples at main · lxc/distrobuilder · GitHub and follow How to build an image. After you have build your own image you can register it with your local incus server. Either having a separate Incus server or using the one installed by TrueNAS. Registering requires command line execution but wouldn’t break TrueNAS or your add a new remote server to Incus.. TrueNAS should be hopefully flexible enough to list your own local images and you can perform the installation through the UI.
From a previous discussion, it seems like the best options would be:
HAOS virtual machine (not system container), if you want what that virtual machine normally does, including the supervisor and running containers itself