I’ll respond to myself as it’s the only workaround I found with the supervised hass.io… basically use HA to run an automation (shell command) to mount NFS — because CIFS would not cut it. Thankfully my QNAP was simple enough to enable permissive NFS access.
Here are things that failed:
- Using rc.local
- Using fstab
- Mounting CIFS in the homeassistant Docker container
This NFS mount worked and it runs after Home Assistant starts:
configuration.yaml
shell_command:
map_nas_video_folder: mount 192.168.0.100:/_NASVIDEO /mnt/_NASVIDEO
automation.yaml
- alias: Map NFS Drive to HassIO
id: map_nfs_drive_to_hassio
initial_state: 'on'
trigger:
- platform: homeassistant
event: start
action:
- delay: '00:00:15'
- service: shell_command.map_nas_video_folder