How to automatically mount a SMB but with a twist

I have a server that hosts virtual machines. One virtual machine is TrueNAS and provides SMB and the other is Jellyfin.

So the jellyfin VM need to mount the SMB but to do that it needs the SMB to be mounted on the host. Since the host tires to mount the SMB before the VM for TrueNAS is even started it won’t mount automatically from fstab.

How can I configure the host to automatically mount the SMB AFTER it has booted and started the VM for TrueNAS?

Every time I reboot the host I have to wait till it spins up the VM and then console in and restart the systemctl manually. It is annoying.

You can make the guest to mount the share on its own without involving the host.