]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/devices/templates/default/udev.rules.erb
Use variable to enable readonly mode, as was used in the previous version of the...
[chef.git] / cookbooks / devices / templates / default / udev.rules.erb
index 1683ba7a87b62c240f908d01aa40211d5334f553..837362bb07bbbcb7e65af1fad38d1ed2638c5048 100644 (file)
@@ -31,4 +31,4 @@ ACTION=="add", SUBSYSTEM=="cpu", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe -bv $
 <% end -%>
 
 # Disable scatter-gather offload for HP NC362i network controllers
-SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10c9", ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x323f", RUN+="/sbin/ethtool -K $name sg off"
+SUBSYSTEM=="net", ACTION=="add", ATTRS{vendor}=="0x8086", ATTRS{device}=="0x10c9", ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x323f", RUN+="/sbin/ethtool -K $name gso off tso off sg off gro off"