On 02/23/2014 09:34 PM, Kevin Wilson wrote:
> Hello,
> I am trying to install lxc-1.0 to /test/var/lib/lxc.
> I want that the containers will be created under /test/var/lib/lxc
>
> So:
> ./configure --with-config-path=/test/var/lib/lxc
> make && make install
>
> and indeed
> lxc-create -n mybusybox -t busybox
> created it under
> /test/var/lib/lxc/
>
> However, lxc-ls does not show it (it shows the containers under /var/lib/lxc).
> Is there some way with ./configure to set the path that lxc-ls will look
> in so that it will be different than /var/lib/lxc?

I cannot answer this, but you can always user lxcpath config option.

With default settings the config file path would be /etc/lxc/lxc.conf:

lxc.lxcpath=/test/var/lib/lxc


tamas
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to