summaryrefslogtreecommitdiffstats
path: root/build/templates
diff options
context:
space:
mode:
authorbaigk <baiguoku@huawei.com>2015-09-12 13:55:40 +0800
committerbaigk <baiguoku@huawei.com>2015-09-12 16:28:25 +0800
commit6fec88cd73e388a14dcfdad812781667e5f9a668 (patch)
treefbe8e182526c29a83e1f9f5d97d0ac265191433e /build/templates
parent6ec9d66787b01e710de5514f377830a94e32a4d2 (diff)
bug fix:support centos 7.1 deployment
JIRA: COMPASS-46 Change-Id: I4003c843b34509d44b45d0235fdf66d9114ff8d5 Signed-off-by: baigk <baiguoku@huawei.com>
Diffstat (limited to 'build/templates')
-rw-r--r--build/templates/RedHat_juno.tmpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/templates/RedHat_juno.tmpl b/build/templates/RedHat_juno.tmpl
index 8efd23b8..ae4eb815 100644
--- a/build/templates/RedHat_juno.tmpl
+++ b/build/templates/RedHat_juno.tmpl
@@ -25,6 +25,16 @@ gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF
+cat <<EOF >/etc/yum.repos.d/syslog.repo
+[rsyslog_v7]
+name=rsyslog
+baseurl="http://rpms.adiscon.com/v7-stable/epel-7/x86_64"
+enabled=1
+gpgcheck=0
+gpgkey=http://rpms.adiscon.com/RPM-GPG-KEY-Adiscon
+protect=1
+EOF
+
yum update -y
yum install createrepo -y
yum install tar -y