X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fvswitch-xen.spec;h=028a6ce747501efb8852a0b6a2aff208fa40d84c;hb=f9fb1858ef9f5c85863b320638b07af8043d1e5a;hp=ee3fce3d60d6f2da88f874168465c29528d2f585;hpb=3570ee9844655d02eb365deda907b7c6295788ae;p=openvswitch diff --git a/xenserver/vswitch-xen.spec b/xenserver/vswitch-xen.spec index ee3fce3d..028a6ce7 100644 --- a/xenserver/vswitch-xen.spec +++ b/xenserver/vswitch-xen.spec @@ -67,7 +67,7 @@ install -m 755 xenserver/etc_xensource_scripts_vif \ $RPM_BUILD_ROOT%{_prefix}/scripts/vif install -m 755 xenserver/root_vswitch_scripts_dump-vif-details \ $RPM_BUILD_ROOT%{_prefix}/scripts/dump-vif-details -install -m 755 \ +install -m 644 \ xenserver/usr_lib_xsconsole_plugins-base_XSFeatureVSwitch.py \ $RPM_BUILD_ROOT%{_prefix}/scripts/XSFeatureVSwitch.py @@ -165,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 <