[pve-devel] [PATCH] be sure to have the bridge up

root aderumier at odiso.com
Fri Mar 23 08:33:17 CET 2012


Signed-off-by: root <aderumier at odiso.com>
---
 pve-bridge |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pve-bridge b/pve-bridge
index 73f2b34..04c2096 100755
--- a/pve-bridge
+++ b/pve-bridge
@@ -63,6 +63,10 @@ if ($net->{rate}) {
 
 }
 
+#be sure to have the bridge up
+system ("/sbin/ip link set $bridge up") == 0 ||
+    die "can't up bridge $bridge\n";
+
 if ($net->{tag}) {
 
     my $vlan = $net->{tag};
-- 
1.7.2.5




More information about the pve-devel mailing list