| commit | 826a387070fbe9d163e7c73ef57f2c908de087af | [log] [download] |
|---|---|---|
| author | Kir Kolyshkin <kir@openvz.org> | Mon Sep 19 23:39:42 2011 +0400 |
| committer | Kir Kolyshkin <kir@openvz.org> | Mon Sep 19 23:39:42 2011 +0400 |
| tree | c14b7118a6a1c1816c294e173c9003d59e8cfb6f | |
| parent | 874cd35210b002b9a31fd633cb520d9007bcde95 [diff] |
etc/dists/scripts/debian-add_ip.sh: always restart networking
Apparently /sbin/ifup -a is not working because "iface venet0"
is not "auto".
Specifically, here's the extract from ifup man page (Debian 6):
-a, --all
If given to ifup, affect all interfaces marked auto.
So I see no better way than to always restart networking.
Signed-off-by: Kir Kolyshkin <kir@openvz.org>