[SOLVED] LXC overwriting my config changes.

scap

New Member
Sep 27, 2014
5
0
1
I have a LXC set up for doing filesharing it mounts a volume from the host using a fstab that is in the config directory and setting the lxc.mount variable in the config to the fstab file. This work well when I manually start the container but if I start through the web interface it overwrites my config and I don't see my volume. Is there special ("non-standard") way to do this with proxmox so that proxmox doesn't overwrite my config.

Thanks!
 
Last edited:
I have a LXC set up for doing filesharing it mounts a volume from the host using a fstab that is in the config directory and setting the lxc.mount variable in the config to the fstab file.

You can directly add that setting to the proxmox container config /etc/pve/lxc/<ctid>.conf

see: man pct.conf
 
I have a LXC set up for doing filesharing it mounts a volume from the host using a fstab that is in the config directory and setting the lxc.mount variable in the config to the fstab file.
I know this is an old thread, but could someone, if not scap, briefly explain how do you "mount a volume from the host using a fstab that is in the config directory"? Which fstab file (a different one than the /etc/fstab?) and which config directory?