I have an Ubuntu LXC on PVE and I want it to mount automatically after a reboot to a Samba share because doing mount -a each time sucks.
So I checked the SMB/CIFS box and as I said I can access the share manually after mount -a. My guess is I should type a magic command into the /etc/fstab, but please have a look at my line there:
\\192.168.XXX.XXX\media /mnt/media cifs credentials=/root/.smbcredentials,users,uid=1000,gid=1000 0 0
Have you an idea what I need to add?
So I checked the SMB/CIFS box and as I said I can access the share manually after mount -a. My guess is I should type a magic command into the /etc/fstab, but please have a look at my line there:
\\192.168.XXX.XXX\media /mnt/media cifs credentials=/root/.smbcredentials,users,uid=1000,gid=1000 0 0
Have you an idea what I need to add?
Last edited: