From c135dcbf6b3d0efbbecb6d31e38b748209cb5936 Mon Sep 17 00:00:00 2001 From: SamYaple Date: Mon, 21 Mar 2016 20:21:43 +0000 Subject: [PATCH] Fix rax-ord commands It isn't always possible to get a rax-ord gate. Last patch wasn't correct. TrivialFix Change-Id: Id94264166e0914f038f32f3f9b68e463aa15ccd3 --- tools/setup_gate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/setup_gate.sh b/tools/setup_gate.sh index 949aad4db9..b2cb569689 100755 --- a/tools/setup_gate.sh +++ b/tools/setup_gate.sh @@ -11,9 +11,9 @@ fi # TODO(SamYaple): Remove this after https://review.openstack.org/#/c/294871/ # NOTE(SamYaple): Temporarily fix RAX gate suffering from glean config issue if [[ $(hostname) =~ "rax-ord" ]]; then - ifdown eth1 + sudo ifdown eth1 sleep 1 - ifup eth1 + sudo ifup eth1 fi function setup_config {