Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171654

How to automatically mount a SMB share on an LXC

$
0
0
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?

Viewing all articles
Browse latest Browse all 171654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>