Quoting christian mueller (christian.muell...@gmx.de):
> Hi Serge,
> 
> > For now, I recommend you do it the old fashioned way:  either symlink or
> > bind mount /home/chm/lxc to /var/lib/lxc:
> > 
> >     rm -rf /var/lib/lxc
> >     mkdir -p /home/chm/lxc
> >     ln -s /home/chm/lxc /var/lib/lxc
> > 
> > Now just do
> > 
> >     lxc-create -f lxc.conf -n p1 -t ubuntu
> > 
> > and the container will sit in your homedir.
> > 
> 
> this works - thank you.
> 
> Question: How long does it usually take until you get your prompt after 
> executing lxc-create? Here is takes several minutes - fells like it takes 
> longer than booting on physical hardware.

It should be fast - a few seconds.  If it takes longer, please file a
bug with 'ubuntu-bug lxc'.  Stephane suggested that when he has seen
slow boots it's been due to dhcp, in particular (one time) due to
virbr0 having stp on.

We'll likely have to either find the problem in your network setup,
or else switching to static network setup should work around it regardless.

-serge

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to