LXC: Expose bind mounts?

greenaar

New Member
Feb 23, 2014
4
0
1
Other than manually editing /etc/pve/lcx/<hostid>.conf -- is there any intention to expose the bind mount options in the UI? I have an NFS share mounted on the host I'd like to propogate to LXC instances without manual file editing, if possible.
 
Other than manually editing /etc/pve/lcx/<hostid>.conf -- is there any intention to expose the bind mount options in the UI?

we plan to put normal disk/mountpoint management to the GUI (like the Harddisk tab for qemu)

I have an NFS share mounted on the host I'd like to propogate to LXC instances without manual file editing, if possible.

This is a security sensitive task, and only root is allowed to do that. So this will not be on the GUI.
 
Ok, I look forward to that. In the meantime, is there a place I could put bind mounts that would make them the default for all lxc containers on a given host?
 
is there a place I could put bind mounts that would make them the default for all lxc containers on a given host?

No, we do not have host wide default. Maybe you could use the template/clone feature for that, but this is not fully implemented (planned soon).