Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

etc/dists/scripts/ do not set up venet0 if no IPs

If you configure a CT to only use veth interfaces (no IP addresses are
configured for venet), still adds net.venet0 to the
defalt runlevel and sets default route via venet0.

Solution is not to run init_netconfig() on CT start if there are no IPs,
but it creates a problem of adding first IP address to a running container --
in this case routing for venet0 is not configured. This problem is fixed
by using "have_ips && venet_configured || set_config" for running CT.

Reported-by: Frank Wassmuth <>
Signed-off-by: Kir Kolyshkin <>
latest commit ca073835cc
@kolyshkin kolyshkin authored
Something went wrong with that request. Please try again.