commit | 4c6da8fd2d0087666ab055ff8408bbef1dea4d4b | [log] [download] |
---|---|---|
author | Kir Kolyshkin <kir@openvz.org> | Wed Feb 16 14:27:28 2011 +0300 |
committer | Kir Kolyshkin <kir@openvz.org> | Wed Feb 16 14:46:24 2011 +0300 |
tree | 3571de1788b4dc08a71409b4e09ce193bf1ee204 | |
parent | 9919b2132ebad792abdf97fb4853c55dbf68cfc3 [diff] |
etc/dists/scripts/debian-add_ip.sh: remove venet0 completely if no IPs to add When IPDELALL is set and IP_ADDR is empty, remove venet0 completely from /etc/network/interfaces, so there will be no default route etc. If IP_ADDR is not empty, only remove IP addresses and leave the main venet0 section intact. Should fix bug #1669. http://bugzilla.openvz.org/1669 Reported-by: Olena Vasilkova <daemon@root.ua> Signed-off-by: Kir Kolyshkin <kir@openvz.org>