Fix rax-ord gate

Change-Id: I169647999b313def30c0605172cf188ef4518cdb
Related-Id: Id9ea8c5e402f3a06b9064a939ad4b2e168cd6223
This commit is contained in:
SamYaple 2016-03-20 14:05:29 +00:00
parent 37e67ef3ed
commit 052b01cf9a

View File

@ -8,6 +8,14 @@ if [[ ! -f /etc/sudoers.d/jenkins ]]; then
echo "jenkins ALL=(:docker) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/jenkins
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
sleep 1
ifup eth1
fi
function setup_config {
# generate the config
tox -e genconfig