projects
/
invirt/packages/invirt-autoinstaller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Whoops - make the autoinstaller frob slightly more clever
[invirt/packages/invirt-autoinstaller.git]
/
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
b0233c8
..
e4c2672
100755
(executable)
--- 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/^exit 0$/ethtool -K eth0 tx off\n\0/' ${prefix}/etc/rc.local
#
# Log our finish