Last change
on this file since 2006 was
2006,
checked in by broder, 16 years ago
|
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.
|
-
Property svn:executable set to
*
|
File size:
459 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | # |
---|
3 | # This script disables checksumming within the domU |
---|
4 | # |
---|
5 | |
---|
6 | prefix=$1 |
---|
7 | |
---|
8 | # |
---|
9 | # Source the common functions |
---|
10 | # |
---|
11 | if [ -e /usr/lib/xen-tools/common.sh ]; then |
---|
12 | . /usr/lib/xen-tools/common.sh |
---|
13 | else |
---|
14 | . ./hooks/common.sh |
---|
15 | fi |
---|
16 | |
---|
17 | logMessage Script $0 starting |
---|
18 | |
---|
19 | # To avoid UDP checksum problems. |
---|
20 | installDebianPackage ${prefix} ethtool |
---|
21 | |
---|
22 | sed -i'' -e 's/(\s*)# post-up/$1post-up/' ${prefix}/etc/network/interfaces |
---|
23 | |
---|
24 | # |
---|
25 | # Log our finish |
---|
26 | # |
---|
27 | logMessage Script $0 finished |
---|
Note: See
TracBrowser
for help on using the repository browser.