You can also symlink to the path you want.
rmdir /var/lib/lxc
ln -s /mywantedpath /var/lib/lxc

Regards,
Andreas

Am 04.10.2013 07:40, schrieb Tamas Papp:
> On 10/04/2013 06:03 AM, Kalyana sundaram wrote:
>> Hi
>> lxc by default creates rootfs and fstab on /var/lib/lxc
>> Is it possible to use some other directory?
>> Because when I do lxc-ls, it does a ls of /var/lib/lxc
>>
> Either use lxcpath=/some/other/dir in /etc/lxc/lxc.conf or -P switch
>
>
> Cheers,
> tamas
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Lxc-users mailing list
> Lxc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to