Re: [Lxc-users] (no subject)

2013-10-04 Thread Andreas Laut
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=60134791iu=/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=60134791iu=/4140/ostg.clktrk
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] (no subject)

2013-10-03 Thread Kalyana sundaram
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

-- 
Kalyanasundaram
http://blogs.eskratch.com/
https://github.com/kalyanceg/
--
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=60134791iu=/4140/ostg.clktrk___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] (no subject)

2013-10-03 Thread 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=60134791iu=/4140/ostg.clktrk
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


[Lxc-users] (no subject)

2012-12-13 Thread phillymacs...@yahoo.com



Sent from my Verizon Wireless 4G LTE Smartphone--
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users


Re: [Lxc-users] (no subject)

2010-09-15 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr):
 However, I am curious to understand why a remount as read-only is 
 propagated in all the system as we are running in our own mount 
 namespace. I will ask to the kernel mailing list ...

I haven't closely followed this thread, but I'd guess that his
root is mnt_shared.  Can confirm by doing 'grep shared /proc/self/mountinfo'
Private mount namespace doesn't stop that.  So if it doesn't already, lxc
should probably (optionally?) do a

mount --make-rslave $lxc_root

after creating it's tmpfs rootfs or pivot_rooting.

(Or, I could be completely wrong :)

-serge

--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
___
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users