From 74129b7d5ed553b416f7266ba3d9a74de601d518 Mon Sep 17 00:00:00 2001 From: naichuans Date: Wed, 4 Jul 2018 10:51:44 +0000 Subject: [PATCH] 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 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 0b72619..7d28eff 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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