X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-autoinstaller.git/blobdiff_plain/8448a355e6d9381461a476d64f8f9f9a86f8fbb4..2b908ddd954fac426e971da70a31fbf9859e0175:/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums 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..94d888e 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