Fix rax-ord commands

It isn't always possible to get a rax-ord gate. Last patch wasn't
correct.

TrivialFix

Change-Id: Id94264166e0914f038f32f3f9b68e463aa15ccd3
This commit is contained in:
SamYaple 2016-03-21 20:21:43 +00:00
parent a65ce784ec
commit c135dcbf6b

View File

@ -11,9 +11,9 @@ fi
# TODO(SamYaple): Remove this after https://review.openstack.org/#/c/294871/ # TODO(SamYaple): Remove this after https://review.openstack.org/#/c/294871/
# NOTE(SamYaple): Temporarily fix RAX gate suffering from glean config issue # NOTE(SamYaple): Temporarily fix RAX gate suffering from glean config issue
if [[ $(hostname) =~ "rax-ord" ]]; then if [[ $(hostname) =~ "rax-ord" ]]; then
ifdown eth1 sudo ifdown eth1
sleep 1 sleep 1
ifup eth1 sudo ifup eth1
fi fi
function setup_config { function setup_config {