On 2011-07-02 16:50, Stuart Johnson wrote:
>> You forgot to paste your config files.
> thanks, does this help?  Its the gateway address that doesn't get set up
> until I do a ifdown eth0&&   ifup eth0
>
>
> lxc.network.type = veth
> lxc.network.flags = up
> lxc.network.link = br0
> lxc.network.ipv4 = x.x.x.x
> lxc.utsname = taxibus
>
> lxc.tty = 4
> lxc.pts = 1024
> lxc.rootfs = /var/lib/lxc/test/rootfs
> lxc.mount  = /var/lib/lxc/test/fstab
>
> lxc.cgroup.devices.deny = a
> # /dev/null and zero
> lxc.cgroup.devices.allow = c 1:3 rwm
> lxc.cgroup.devices.allow = c 1:5 rwm
> # consoles
> lxc.cgroup.devices.allow = c 5:1 rwm
> lxc.cgroup.devices.allow = c 5:0 rwm
> #lxc.cgroup.devices.allow = c 4:0 rwm
> #lxc.cgroup.devices.allow = c 4:1 rwm
> # /dev/{,u}random
> lxc.cgroup.devices.allow = c 1:9 rwm
> lxc.cgroup.devices.allow = c 1:8 rwm
> lxc.cgroup.devices.allow = c 136:* rwm
> lxc.cgroup.devices.allow = c 5:2 rwm
> # rtc
> lxc.cgroup.devices.allow = c 254:0 rwm
>
>
> /etc/network/interfaces (container)
> # The loopback network interface
> auto lo
> iface lo inet loopback
>
> #The primary network interface
> auto eth0
> iface eth0 inet static
> address x.x.x.x
> gateway x.x.x.x
> netmask 255.255.255.0

Did you modify /etc/init/* scripts? The guest is also Natty?

tamas

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to