[Lxc-users] eth0 not coming online in LXC environment

2013-04-04 Thread David Parks
I've got an environment set up now where the host OS has a static IP directly connected to the LAN. I'm bridging the containers to have their own static LAN IP as well. In my containers I've set: lxc.network.type=veth lxc.network.link=br0 lxc.network.name=eth0 lxc.network.ipv4 = 10.1.3.2

Re: [Lxc-users] mknod inside systemd container

2013-04-04 Thread Joerg Gollnick
Am Thu, 04 Apr 2013 10:30:36 -0400 schrieb "Michael H. Warfield" : Hi John, > Hey John, > > On Thu, 2013-04-04 at 09:07 +0100, John wrote: > > On 03/04/13 23:15, Michael H. Warfield wrote: > > > On Wed, 2013-04-03 at 23:03 +0100, John wrote: > > >> On 02/04/13 23:59, Michael H. Warfield wrote: >

Re: [Lxc-users] zfs support

2013-04-04 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): > On 04/04/2013 03:54 PM, Serge Hallyn wrote: > > > >If you want to go ahead and send a full patch against the current > >lxc-clone.in script, that should help me reproduce what you want in > >the api version. > > I have limited scripting skills, but I do

Re: [Lxc-users] How to make lxc-cgroup work?

2013-04-04 Thread Serge Hallyn
Quoting 陳韋任 (Wei-Ren Chen) (che...@iis.sinica.edu.tw): > Hi all, > > Sorry for the newbie question. But I am confused on how to make cgroup > work on lxc. When I type `lxc-cgroup`, the command gave me the error > below: > > $ lxc-cgroup -n ubuntu cpu.shares > lxc-cgroup: open /sys/fs/cgroup

Re: [Lxc-users] How to make lxc-cgroup work?

2013-04-04 Thread Serge Hallyn
Quoting 陳韋任 (Wei-Ren Chen) (che...@iis.sinica.edu.tw): > Hi all, > > Sorry for the newbie question. But I am confused on how to make cgroup > work on lxc. When I type `lxc-cgroup`, the command gave me the error > below: > > $ lxc-cgroup -n ubuntu cpu.shares > lxc-cgroup: open /sys/fs/cgroup

[Lxc-users] How to make lxc-cgroup work?

2013-04-04 Thread Wei-Ren Chen
Hi all, Sorry for the newbie question. But I am confused on how to make cgroup work on lxc. When I type `lxc-cgroup`, the command gave me the error below: $ lxc-cgroup -n ubuntu cpu.shares lxc-cgroup: open /sys/fs/cgroup/cpu//lxc/ubuntu/cpu.shares : No such file or directory lxc-cgroup:

Re: [Lxc-users] Create container as clone of host

2013-04-04 Thread Cody Doucette
Fajar and Serge, Thank you for your insights; I did not have a clear grasp on the fact that the container will use the kernel of the host. I've been reading more documentation and everything is working great now. Thanks again for your help, Cody On Tue, Apr 2, 2013 at 5:19 PM, Fajar A. Nugraha

Re: [Lxc-users] zfs support

2013-04-04 Thread Papp Tamas
On 04/04/2013 03:54 PM, Serge Hallyn wrote: > > If you want to go ahead and send a full patch against the current > lxc-clone.in script, that should help me reproduce what you want in > the api version. I have limited scripting skills, but I do my best. > Will the path used as rootfs always be a

Re: [Lxc-users] mknod inside systemd container

2013-04-04 Thread Michael H. Warfield
Hey John, On Thu, 2013-04-04 at 09:07 +0100, John wrote: > On 03/04/13 23:15, Michael H. Warfield wrote: > > On Wed, 2013-04-03 at 23:03 +0100, John wrote: > >> On 02/04/13 23:59, Michael H. Warfield wrote: > >>> On Tue, 2013-04-02 at 16:02 +0100, John wrote: > If my understanding is correctl

Re: [Lxc-users] zfs support

2013-04-04 Thread Serge Hallyn
Quoting Papp Tamas (tom...@martos.bme.hu): > On 04/03/2013 11:43 PM, Serge Hallyn wrote: > > > >It's on the list - only trick is I need to learn how to use it :) > > I planning to make some changes like this: > > echo " -B zfs [--zfs-root PATH]" >&2 > > echo " --zfs-root PATHspecif

Re: [Lxc-users] mknod inside systemd container

2013-04-04 Thread John
On 03/04/13 23:15, Michael H. Warfield wrote: > On Wed, 2013-04-03 at 23:03 +0100, John wrote: >> On 02/04/13 23:59, Michael H. Warfield wrote: >>> On Tue, 2013-04-02 at 16:02 +0100, John wrote: If my understanding is correctl, to stop systemd trying to launch udev and generally make a me