Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master

etc/dists/scripts/gentoo-add_ip.sh: 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), gentoo-add_ip.sh 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.

http://bugzilla.openvz.org/2077

Reported-by: Frank Wassmuth <frank@wassmuth.it>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
latest commit ca073835cc
@kolyshkin kolyshkin authored
..
Failed to load latest commit information.
scripts etc/dists/scripts/gentoo-add_ip.sh: do not set up venet0 if no IPs
Makefile.am Fix networking for Ubuntu-6.06
altlinux.conf etc/dists: Add ALT Linux and Owl support
arch.conf Dist scripts for arch linux.
debian-3.conf Fix networking for Debian-3.1
debian.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
default etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
distribution.conf-template Copyright year fixes, or Happy New Year!
fedora-core.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
funtoo.conf Support for Funtoo Linux network scripts
gentoo.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
mandrake.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
opensuse.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
redhat-7.3.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
redhat.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
slackware-9.0.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
slackware.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
suse-7.3.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
suse-8.0.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
suse.conf etc/dists/: VE->container, SWsoft->Parallels renaming (part 2)
Something went wrong with that request. Please try again.