I am running TrueNAS in a VM that I used to create a SMB share.
I also have a container with ubuntu that I want to give access to that share.
I can edit /etc/fstab to point to that share but if the machine restarts that share will not be available until TrueNAS VM starts so It will no mount on startup.
I can create the mount point in the container and delay the startup of the container until after the TrueNAS VM boots. But I still run into the same problem I have to manually type mount -a. Looking for a way to automate this.
I also have a container with ubuntu that I want to give access to that share.
I can edit /etc/fstab to point to that share but if the machine restarts that share will not be available until TrueNAS VM starts so It will no mount on startup.
I can create the mount point in the container and delay the startup of the container until after the TrueNAS VM boots. But I still run into the same problem I have to manually type mount -a. Looking for a way to automate this.