Remove the eth1 up and down manually in the rax-ord node

Change-Id: I8372df9869df6e83b7a176184ce93da633525cbd
Closes-Bug: #1574134
(cherry picked from commit f21485fbaa)
This commit is contained in:
Jeffrey Zhang
2016-04-24 08:00:08 +08:00
parent 5ef62c121b
commit 5c29cf5049

View File

@@ -11,14 +11,6 @@ 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
sudo ifdown eth1
sleep 1
sudo ifup eth1
fi
function setup_config {
# generate the config
tox -e genconfig