]> git.proxmox.com Git - mirror_lxc.git/commit - doc/lxc.container.conf.sgml.in
confile: expand lxc.environment
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 31 Mar 2018 00:39:28 +0000 (02:39 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 31 Mar 2018 15:57:00 +0000 (17:57 +0200)
commit5eab47bce5d5fd77c32143002b56c1b3606b5909
tree805d7c6ce8c9a6d9c1059b1668aecca2ab7f971e
parentdae29309e34a9e3684fa9f1b4090029936b5e507
confile: expand lxc.environment

When a bare environment variable is specified then retrieve the value from the
current environment. For example, setting

lxc.environment = PATH

will cause LXC to inherit the value of PATH from the current environment.

Suggested-by: Jonathan Calmels <jcalmels@nvidia.com>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
doc/lxc.container.conf.sgml.in
src/lxc/confile.c