]> git.proxmox.com Git - mirror_lxc.git/commit - src/lxc/tools/lxc_start.c
lxc-start: if we pass in a config file, then don't use any loaded config
authorSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 14 Nov 2013 18:48:41 +0000 (12:48 -0600)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Thu, 14 Nov 2013 19:27:22 +0000 (13:27 -0600)
commit4df7f012b9994ea54b1ad68176d8d45a57fa02f3
tree09ef8e99426f1e2becbc9935ace41e2db60bfb0d
parent41f683579c0625e22a838ffa6d4297c09b5837e2
lxc-start: if we pass in a config file, then don't use any loaded config

To do this, add a c->clear_config() helper to the api.

(this fixes the bug https://bugs.launchpad.net/bugs/1251352)

Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/lxc_start.c
src/lxc/lxccontainer.c
src/lxc/lxccontainer.h