Re: [Lxc-users] lxc-fstab vs /etc/fstab vs /lib/init/fstab

2011-04-05 Thread Trent W. Buck
Serge Hallyn writes: > Next, upstart's mountall consults /lib/init/fstab. That's the one > which will usually prevent container startup from proceeding. The > lxcguest package for ubuntu will force upstart to mount an empty > version of that file before mountall runs. So if you install lxcgues

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread John Soros
Hi Ulli, I have managed to set up routed networking with lxc, it isn't very different from xen or qemu. I've created a webpage explaining how I did it: http://j.9souldier.org/trunk/lxc/ Comments are welcome. John ps. I think your setup is wrong in that you need to route through the host and not yo

Re: [Lxc-users] Running LXC on a pxelinux machine

2011-04-05 Thread Daniel Lezcano
On 04/05/2011 09:49 AM, Gus Power wrote: > Hi, > > I've got a pxelinux boot configuration with a remote NFS root filesystem > and was wondering if anyone out there has tried running lxc on such a > configuration. I'm having difficulty getting the host machine to talk > with the running lxc containe

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Ulli Horlacher
On Tue 2011-04-05 (14:53), Daniel Lezcano wrote: > Can you give the bridge setup ? (brctl show) root@zoo:/lxc# brctl show bridge name bridge id STP enabled interfaces br0 8000.0050568e0003 no eth0 -- Ullrich Horlacher Server-

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Serge Hallyn
Quoting Ulli Horlacher (frams...@rus.uni-stuttgart.de): > On Mon 2011-04-04 (19:35), Ulli Horlacher wrote: > > My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host, > > but the container can only connect to the host (and vice versa), but not > > to the world outside. > > I foun

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Daniel Lezcano
On 04/04/2011 07:35 PM, Ulli Horlacher wrote: > My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host, > but the container can only connect to the host (and vice versa), but not > to the world outside. > > I saw a lot of configurations for NAT, but I want native routing for my >

Re: [Lxc-users] lxc-clone

2011-04-05 Thread Serge Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > I think more configuration tweaking will be needed but this patch > looks good for me. I'm hoping to set up a machine on which to play with lxc on btrfs snapshots sometime this week. (In the background, starting the build now). ... > >+echo "Tw

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Tanhuanpää Antti
On Mon, 4 Apr 2011, Ulli Horlacher wrote: > My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host, > but the container can only connect to the host (and vice versa), but not > to the world outside. > > I saw a lot of configurations for NAT, but I want native routing for my > con

Re: [Lxc-users] mounted filesystems inconsistency

2011-04-05 Thread Daniel Lezcano
On 03/31/2011 11:41 AM, Milos Negovanovic wrote: > Hi all, > > I have 3 identical LXC setups, 2 of which are sandboxes on different > workstations and one is live environment. All 3 run Arch linux on host > and inside the container. > > On one of the sandboxes output of mount after the container is

Re: [Lxc-users] lxc-clone

2011-04-05 Thread Daniel Lezcano
On 03/30/2011 06:29 PM, Serge E. Hallyn wrote: > I've replaced most of my previous use of kvm and cloud instances for bug > investigations with lxc instances. To emulate my older workflows, I've > created lxc-clone. My diff against the current natty lxc package is > attached. I've written up how

Re: [Lxc-users] native (non-NAT) routing?

2011-04-05 Thread Ulli Horlacher
On Mon 2011-04-04 (19:35), Ulli Horlacher wrote: > My first Ubuntu 10.04 container is up and running on a Ubuntu 10.04 host, > but the container can only connect to the host (and vice versa), but not > to the world outside. I found a workaround: I have added an extra ethernet card dedicated to the

[Lxc-users] Running LXC on a pxelinux machine

2011-04-05 Thread Gus Power
Hi, I've got a pxelinux boot configuration with a remote NFS root filesystem and was wondering if anyone out there has tried running lxc on such a configuration. I'm having difficulty getting the host machine to talk with the running lxc containers. I managed to get a local bridge interface up an