]> git.proxmox.com Git - mirror_lxc.git/commit
introduce lxc_config
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Mon, 29 Apr 2013 20:09:06 +0000 (22:09 +0200)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Tue, 30 Apr 2013 14:15:44 +0000 (09:15 -0500)
commita8428dfa2c6a43ee195f4be3e04a519ca1fc6ec0
tree6114f514ff724e89eeab09ab116459e6984d07d1
parent1e1bb42a8fca68d9fa9391e6644aeff296479499
introduce lxc_config

It's a tiny program (exported through the api) wrapping the util.c
helpers for reading /etc/lxc/lxc.conf variables, and replaces
the kludgy shell duplication in lxc.functions.in

Changelog: Apr 30: address feedback from Dwight
(exit error on failure, and use 'lxcpath' as name, not
'default_path').

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Dwight Engen <dwight.engen@oracle.com>
src/lxc/Makefile.am
src/lxc/lxc.functions.in
src/lxc/lxc_config.c [new file with mode: 0644]
src/lxc/lxccontainer.c
src/lxc/lxccontainer.h