Persistent LXC container options

It seems that /etc/lxc/default.conf doesn't have much bearing. /usr/share/lxc/config/common.conf seems to be a better fit except that you can't control it per container, it will be applied system wide to all containers.

Would be nice if it could be controlled per container.
 
We do the mounting ourselves, so this option will not be used anyway. It seems quite a few people want some custom options, so we need to consider that I suppose.
 
is this still being considered?

I would like to add an option like

Code:
lxc.hook.pre-mount: /etc/myhook.pre-mount.sh

to all containers, and I'm not sure what file to use.
 
+1
it would be great to be able to set "noatime" option when mounting an LXC disk
 
+1
I agree noatime option for LXC would be great.

Proxmox is a good choice for people who wants low overhead so optimising performance with noatime seems really needed
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!