X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fvswitch-xen.spec;h=028a6ce747501efb8852a0b6a2aff208fa40d84c;hb=f9fb1858ef9f5c85863b320638b07af8043d1e5a;hp=fc9b6d2003a17817274c91c3120306b136080467;hpb=b44508095d18f64ca277cca3137c671d07efb594;p=openvswitch diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index fc9b6d20..028a6ce7 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -65,7 +65,9 @@ install -m 755 xenserver/opt_xensource_libexec_interface-reconfigure \ $RPM_BUILD_ROOT%{_prefix}/scripts/interface-reconfigure install -m 755 xenserver/etc_xensource_scripts_vif \ $RPM_BUILD_ROOT%{_prefix}/scripts/vif -install -m 755 \ +install -m 755 xenserver/root_vswitch_scripts_dump-vif-details \ + $RPM_BUILD_ROOT%{_prefix}/scripts/dump-vif-details +install -m 644 \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ $RPM_BUILD_ROOT%{_prefix}/scripts/XSFeatureVSwitch.py @@ -163,11 +165,20 @@ EOF fi %post -source /etc/xensource-inventory - -xe host-param-set \ - "other-config:vSwitchVersion=%{version}" uuid="$INSTALLATION_UUID" || - echo "Could not set vSwitchVersion config parameter" +if grep -F net.ipv4.conf.all.arp_filter /etc/sysctl.conf >/dev/null 2>&1; then :; else + cat >>/etc/sysctl.conf <