From f899caac3842a0754815d86994e150b568d7b272 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 21 May 2009 11:11:08 -0700 Subject: [PATCH] xenserver: Make vif script log its changes to vswitchd.conf. This makes debugging easier. --- xenserver/etc_xensource_scripts_vif | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xenserver/etc_xensource_scripts_vif b/xenserver/etc_xensource_scripts_vif index 3a8d264a..01039a34 100755 --- a/xenserver/etc_xensource_scripts_vif +++ b/xenserver/etc_xensource_scripts_vif @@ -90,7 +90,7 @@ add_to_bridge() --del-match="bridge.*.port=$vif" \ --del-match="vlan.$vif.[!0-9]*" \ --add="bridge.$bridge.port=$vif" \ - $vid + $vid -c $service vswitch reload ${IP} link set "${vif}" up || logger -t scripts-vif "Failed to ip link set ${vif} up" @@ -123,6 +123,6 @@ remove) logger -t scripts-vif "${vif} has been removed" $cfg_mod -vANY:console:emer -F /etc/vswitchd.conf \ --del-match="bridge.*.port=${vif}" \ - --del-match="vlan.${vif}.[!0-9]*" + --del-match="vlan.${vif}.[!0-9]*" -c ;; esac -- 2.30.2