xenapi: stop exit while ethtool tx disable cmd failed
The ethtool tx disable cmd would fail on the VMs using the new image. Modify the code to avoid script exit after the failure. Change-Id: I93e80168d53b6b080cb1173f17b41d78a0528ceb
This commit is contained in:
parent
3e4ee6b7c7
commit
74129b7d5e
@ -144,7 +144,7 @@ SRHACK
|
||||
|
||||
# This is important, otherwise dhcp client will fail
|
||||
for dev in eth0 eth1 eth2 eth3 eth4; do
|
||||
sudo ethtool -K $dev tx off
|
||||
sudo ethtool -K $dev tx off || true
|
||||
done
|
||||
|
||||
# Add a separate disk
|
||||
|
Loading…
x
Reference in New Issue
Block a user