Hello,
I'm looking into some way of mounting network shares to LXCs after VM boot up.
I have an Unraid VM on which all my data is stored. Then I have multiple unprivileged LXCs that are accessing those data by mount point - so they can remain unprivileged. So that means, the VM must be fully booted up and array started (takes approx 3 minutes) and then I need to mount network shares to the Proxmox host first (currently done in "/etc/fstab" via cifs). To do so, I need to manually connect to the Proxmox shell each time just to run "mount -a" for Proxmox host to attach the network shares. Then the containers can be started.
Is there any workaround so it can be automated without me doing anything if I need to restart / turn off and on the Proxmox or something like that? I looked through pages of google and didn't find anything easy enough for person inexperienced with linux commands and setup via shell...
Thanks!
I'm looking into some way of mounting network shares to LXCs after VM boot up.
I have an Unraid VM on which all my data is stored. Then I have multiple unprivileged LXCs that are accessing those data by mount point - so they can remain unprivileged. So that means, the VM must be fully booted up and array started (takes approx 3 minutes) and then I need to mount network shares to the Proxmox host first (currently done in "/etc/fstab" via cifs). To do so, I need to manually connect to the Proxmox shell each time just to run "mount -a" for Proxmox host to attach the network shares. Then the containers can be started.
Is there any workaround so it can be automated without me doing anything if I need to restart / turn off and on the Proxmox or something like that? I looked through pages of google and didn't find anything easy enough for person inexperienced with linux commands and setup via shell...
Thanks!