This is my current configuration:

lxc.network.type = veth
lxc.network.veth.pair = veth-mycontainer
lxc.network.link = br0
lxc.network.ipv4 = 213.X.X.31/32
lxc.network.ipv4.gateway = 193.X.X.1
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:aa:bb:cc

container inerfaces file:

auto eth0
iface eth0 inet static
   address   213.X.X.31
   netmask   255.255.255.255
   broadcast 0.0.0.0
   gateway   193.X.X.1

   dns-nameservers 8.8.8.8
   dns-nameservers 8.8.4.4


I don't know why but when i changed interfaces file into this it works.

auto eth0
iface eth0 inet manual
   dns-nameservers 8.8.8.8
   dns-nameservers 8.8.4.4





2015-04-30 16:21 GMT+03:00 Fırat KÜÇÜK <[email protected]>:

> Hi.
>
> I installed lxc ubuntu 14.04 on ubuntu 14.04 host.
> in container there are ssh, mysql and nginx servers.
>
> i added all services with update-rc.d command to startup.
>
> But none of them stars automatically on startup. There is no information
> on logs.
>
> what can be the reasons?
>
>
> --
> FIRAT KÜÇÜK
>



-- 
FIRAT KÜÇÜK
_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to