After several attempts to run Home Assistant Supervised on FreeNAS 11.3 at last I found a simple way to do this:
-
create a virtual machine in FreeNAS according to HA recommendations (32GB zvol, UEFI boot) and select VirtIO for storage and network adapter (but it may be not necessary):
Installing Home Assistant -
download HA VDI image from HA installation page (link above) and unpack it from .gz
-
convert .vdi to .raw by using Virtualbox tools:
VBoxManage clonehd "image.vdi" "image.raw" --format RAW
-
upload .raw image to FreeNAS
-
run in FreeNAS shell command to copy RAW data into ZVOL of your new VM with this command:
dd if=image.raw of=/dev/zvol/<your_pool_name>/<your_volume_name>
-
Done. Now you can run your HA VM, use VNC for remote access and connect to HA through web interface, as usual:
http://<your_homeassistant_ip>:8123