aboutsummaryrefslogtreecommitdiff
path: root/tools/setup_RedHat.sh
diff options
context:
space:
mode:
authorJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-05-19 09:57:56 +0800
committerJeffrey Zhang <jeffrey.zhang@99cloud.net>2016-05-22 00:26:49 +0800
commitc98e9c44f23d14867e4dddea88fe9a9f7aa50dd6 (patch)
treec0227dcff4d3c9a5ff405cba657bb3a324758f91 /tools/setup_RedHat.sh
parent3f2a5bdadc4bdc0cc1e76b35d04c23e48ce27396 (diff)
downloadkolla-c98e9c44f23d14867e4dddea88fe9a9f7aa50dd6.tar.gz
kolla-c98e9c44f23d14867e4dddea88fe9a9f7aa50dd6.zip
Fix the rabbitmq crash on CentOS binary and source deploy
this is a wordround fix for the rabbitmq failed when deploy on CentOS in the CI gate. the ideal fix should set the hostname in setup_gate.sh script. But it do not work as expect with unknown reason Partial-Bug: #1581301 Change-Id: Ia692794aadf11d3ebe75e4e2bf6b42d9a5f3996f
Diffstat (limited to 'tools/setup_RedHat.sh')
-rwxr-xr-xtools/setup_RedHat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setup_RedHat.sh b/tools/setup_RedHat.sh
index ce5a93838..a062768b8 100755
--- a/tools/setup_RedHat.sh
+++ b/tools/setup_RedHat.sh
@@ -31,7 +31,7 @@ function setup_disk {
# (SamYaple)TODO: Remove the path overriding
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
-cat | sudo tee /etc/yum.repos.d/docker.repo << EOF
+sudo tee /etc/yum.repos.d/docker.repo << EOF
[docker]
name=Docker Main Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/7