On Wed, Mar 30, 2011 at 10:50 PM, Ramez Hanna <rha...@informatiq.org> wrote:
> On Wed, Mar 30, 2011 at 10:00 PM, Ramez Hanna <rha...@informatiq.org>wrote: > >> On Wed, Mar 30, 2011 at 7:58 PM, Serge E. Hallyn <serge.hal...@ubuntu.com >> > wrote: >> >>> Quoting Justin Cormack (jus...@specialbusservice.com): >>> > On Wed, 2011-03-30 at 10:32 -0500, Serge E. Hallyn wrote: >>> > > Quoting Justin Cormack (jus...@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? >>> >>> -----BEGIN PGP SIGNATURE----- >>> Version: GnuPG v1.4.10 (GNU/Linux) >>> >>> iQEcBAEBAgAGBQJNk2E5AAoJEHmllQITXQdF9mMIAJuBq8nQt6lSO7kBYo5KMsDt >>> GNyQ0qtZwt1uzkEkzAVM9TGYGxBfMlVPZxnh20DO5O5ErpWWfB/n8mBwTqwh4//5 >>> ngLPMbuWI60Godei/OCiR51f4V9tbd7S0gpL1Uty6uEEph01Qm81H9nPrHYEV9kc >>> YORmVl+KlU0yFV58hOmU0WOmerydCgMiIPIXWW8WLIc8dg7X+h35UMAsg8lmAapr >>> 2qVXfO7ocu980OZzJ8TunhV9oyKumaZ8aogK7dsSjhBCB7VDGCHZAnvs0Bz9YbNB >>> jO4y7Lv1hK3x9SeChIvPwljywB2MA77GESWsS8G53af4sYG06sFQ34W+1laj4xU= >>> =jw0k >>> -----END PGP SIGNATURE----- >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Create and publish websites with WebMatrix >>> Use the most popular FREE web apps or write code yourself; >>> WebMatrix provides all the features you need to develop and >>> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf >>> >>> _______________________________________________ >>> Lxc-users mailing list >>> Lxc-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/lxc-users >>> >>> man it seems that enabling network in the container was the solution >> i wasn't enabling the network and that was getting my host's init affected >> i thought that if i didn't set network the container would not have >> network at all (soming from a kvm background) >> but it seems that if network is not defined at all in the lxc config then >> it will share the hosts's network, which would really screw things up >> >> and here it is the final version > just tested it on host f14 > created f14 and f13 guests successfully > > shall i send this to Daniel Lezcano <daniel.lezc...@free.fr> for including > it in the next release? or what? > > and again i forget to attach
lxc-fedora.in
Description: Binary data
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________ Lxc-users mailing list Lxc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-users