vm/network: disable tx-checksumming offload (#700)

It doesn't work on xen-netfront.
This commit is contained in:
Marek Marczykowski 2013-01-08 03:03:44 +01:00
parent 50809a21c8
commit 965846532a

View File

@ -10,6 +10,7 @@ if [ x$ip != x ]; then
/sbin/route add -host $gateway dev $INTERFACE
/sbin/route add default gw $gateway
/sbin/ethtool -K $INTERFACE sg off
/sbin/ethtool -K $INTERFACE tx off
echo "nameserver $gateway" > /etc/resolv.conf
echo "nameserver $secondary_dns" >> /etc/resolv.conf
network=$(/usr/bin/xenstore-read qubes_netvm_network 2>/dev/null)