summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rwxr-xr-xbuild/make_repo.sh2
-rw-r--r--build/templates/RedHat_juno.tmpl10
2 files changed, 11 insertions, 1 deletions
diff --git a/build/make_repo.sh b/build/make_repo.sh
index 1329300f..8ef3c448 100755
--- a/build/make_repo.sh
+++ b/build/make_repo.sh
@@ -148,7 +148,7 @@ function make_all_repo()
make_repo --os-ver rhel7 --package-tag juno \
--ansible-dir $WORK_PATH/deploy/adapters/ansible \
--tmpl RedHat_juno.tmpl \
- --default-package "strace net-tools wget vim openssh-server dracut-config-rescue dracut-network" \
+ --default-package "rsyslog strace net-tools wget vim openssh-server dracut-config-rescue dracut-network" \
--special-package ""
}
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