Index: trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums
===================================================================
--- trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums	(revision 2018)
+++ trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums	(revision 2019)
@@ -20,5 +20,8 @@
 installDebianPackage ${prefix} ethtool
 
-sed -i'' -e 's/\(\s*\)# post-up/\1post-up/' ${prefix}/etc/network/interfaces
+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
+    echo "ERROR: unable to disable network segmentation offloading"
+    exit 1
+fi
 
 #
Index: trunk/packages/invirt-autoinstaller/debian/changelog
===================================================================
--- trunk/packages/invirt-autoinstaller/debian/changelog	(revision 2018)
+++ trunk/packages/invirt-autoinstaller/debian/changelog	(revision 2019)
@@ -2,6 +2,9 @@
 
   * Add a script to update the autoinstaller disk from a host.
+  * Use a more stringent regexp and fail loudly if the match fails.
+  * Turn off transmission segmentation offloading instead of tx checksum
+    offloading
 
- -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 19:47:47 -0500
+ -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 20:57:09 -0500
 
 invirt-autoinstaller (0.0.6) unstable; urgency=low
