From 598243d4c5bd4f8e8494683a60fb454d505a54d5 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Mon, 26 Jan 2009 07:42:42 -0500 Subject: [PATCH] Correct for the network checksumming problem in /etc/network/interfaces instead of /etc/rc.local This will cause the change to persist across downing and upping the interface. It also takes advantage of the hook that xen-create-image already puts in place, instead of creating our own. svn path=/trunk/packages/invirt-autoinstaller/; revision=2006 --- .../lib/xen-tools/debian.d/98-fix-eth-checksums | 2 +- debian/changelog | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums b/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums index e4c2672..33d18ee 100755 --- a/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums +++ b/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums @@ -19,7 +19,7 @@ logMessage Script $0 starting # To avoid UDP checksum problems. installDebianPackage ${prefix} ethtool -sed -i'' -e 's/^exit 0$/ethtool -K eth0 tx off\n\0/' ${prefix}/etc/rc.local +sed -i'' -e 's/(\s*)# post-up/$1post-up/' ${prefix}/etc/network/interfaces # # Log our finish diff --git a/debian/changelog b/debian/changelog index 2b79374..098f5a9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-autoinstaller (0.0.6) unstable; urgency=low + + * Correct for the checksumming issue in /etc/network/interfaces instead + of /etc/rc.local + + -- Evan Broder Mon, 26 Jan 2009 07:40:30 -0500 + invirt-autoinstaller (0.0.5) unstable; urgency=low * Install Debian and Ubuntu compatible kernels without checking first -- 1.7.9.5