Re: [lxc-devel] [PATCH] lxc api: fix some config_path oddities

2013-02-10 Thread Stéphane Graber
On 02/08/2013 05:06 PM, Serge Hallyn wrote: > 1. When calling c->set_config_path(), update configfile. I.e. if we > are setting the config_path to /var/lib/lxc, then the configfile should > be changed to /var/lib/lxc/$container/config > > 2. Add an optional configpath argument to lxc_container_ne

[lxc-devel] [PATCH] lxc api: fix some config_path oddities

2013-02-08 Thread Serge Hallyn
1. When calling c->set_config_path(), update configfile. I.e. if we are setting the config_path to /var/lib/lxc, then the configfile should be changed to /var/lib/lxc/$container/config 2. Add an optional configpath argument to lxc_container_new. If NULL, then the default will be used (as before)