[Lxc-users] natty without network isolation

Serge Hallyn serge.hallyn at canonical.com
Mon Jun 6 15:45:12 UTC 2011


Quoting webcubator webcubator (webcubator at mail.ru):
> Hello!
> 
> Shortly...
> 
> I want to install natty as guest without network isolation
> The problem is lxc-start hangs in this case
> If I add network all works fine
> 
> With this network settings all works fine
> -- cut --
> lxc.network.type=veth
> -- ent cut --
> 
> But network is isolated and I doesn't want to isolate network
> 
> ============================
> 
> Bellow details, what I do exactly:
> 
> # dpkg -l | grep lxc
> ii  lxc                             0.7.4-0ubuntu7.1                           Linux containers userspace tools
> 
> # uname -a
> Linux XXX 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 07:04:38 UTC 2011 i686 i686 i386 GNU/Linux
> 
> # lxc-create -t natty -n natty01 

Don't do it with no lxc.conf (-f), rather use something like

/usr/share/doc/lxc/examples/lxc-empty-netns.conf:

# Container with new network withtout network devices
lxc.utsname = omega
lxc.network.type = empty
lxc.network.flags = up

-serge




More information about the lxc-users mailing list