Changeset 2019 for trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums
- Timestamp:
- Jan 27, 2009, 1:36:50 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums
r2007 r2019 20 20 installDebianPackage ${prefix} ethtool 21 21 22 sed -i'' -e 's/\(\s*\)# post-up/\1post-up/' ${prefix}/etc/network/interfaces 22 if ! sed -i -e 's/^\(\s*\)#\s*post-up\s\+ethtool/\1post-up ethtool -K eth0 tso off\n\0/' ${prefix}/etc/network/interfaces; then 23 echo "ERROR: unable to disable network segmentation offloading" 24 exit 1 25 fi 23 26 24 27 #
Note: See TracChangeset
for help on using the changeset viewer.