Merge "Fix rax-ord gate"

This commit is contained in:
Jenkins 2016-03-21 18:15:03 +00:00 committed by Gerrit Code Review
commit aaef925585

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