[Lxc-users] fedora template

Serge E. Hallyn serge.hallyn at ubuntu.com
Wed Mar 30 16:58:33 UTC 2011


Quoting Justin Cormack (justin at specialbusservice.com):
> On Wed, 2011-03-30 at 10:32 -0500, Serge E. Hallyn wrote:
> > Quoting Justin Cormack (justin at specialbusservice.com):
> > > This one didnt work...
> > > 
> > > lxc.utsname = vm1
> > > lxc.tty = 4
> > > lxc.network.type = veth
> > > lxc.network.flags = up
> > > lxc.network.link = virbr0
> > > lxc.network.hwaddr = 08:00:27:83:C4:82
> > > lxc.network.ipv4 = 192.168.122.2
> > > lxc.network.name = eth0
> > > lxc.mount = /usr/lib/lxc/vm1/fstab
> > > lxc.rootfs = /usr/lib/lxc/vm1/rootfs
> > 
> > Odd.  Did you start this as root?
> 
> Yes, just retested and behaving the same. If I get lxc-start to
> run /bin/bash instead of init (and then mount proc manually) it has
> brought up eth0 in the container on the right IP, and I can ping the
> other end, which suggests that it has got network namespaces. And
> netstat does not list anything. Which is rather confusing as it suggests
> everything is as expected.

And exactly what distro/release/version are the container and host?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20110330/1abfd31a/attachment.pgp>


More information about the lxc-users mailing list