[lxc-devel] API wishlist

Serge Hallyn serge.hallyn at canonical.com
Fri Dec 7 17:25:25 UTC 2012


Quoting Stéphane Graber (stgraber at ubuntu.com):
...
>  - get_version() (not container specific)
>  - get_lxc_path() (not container specific)
>    Returns the storage path for the containers.
>    Defaults to LXCPATH.
>  - set_lxc_path(path) (not container specific)
> 
> 
> Looking at my todolist for this cycle, the highest priority ones for me
> would be:
>  1) get_lxc_path()
>  2) set_lxc_path()
>  3) get_cgroup_item()
>  4) set_cgroup_item()

How would set_lxc_path() work?  Would all the lxc code be switched to
check /etc/default/lxc.conf for the value, and autoconf would only fill
in the value in that file?

-serge




More information about the lxc-devel mailing list