hashicorp / nomad-driver-lxc

HashiCorp Nomad LXC driver plugin
Mozilla Public License 2.0
31 stars 19 forks source link

Update lxc config option and fix cgroup2 volume mount #38

Open h0tw1r3 opened 2 years ago

h0tw1r3 commented 2 years ago

replace default_config task option with config_file

Only support config_file on the task to behave exactly as the lxc command line tools. The default_config file location is provided automatically by the lxc library and can already by overridden per-system (see man lxc.system.conf).

Also removed various stats no longer supported with cgroups v2 and some were removed in kernel 5.4+.