add lux during install

This commit is contained in:
Usman Nasir
2020-09-16 14:13:29 +05:00
parent 66e88e51e8
commit 46ea2e3be2
2 changed files with 19 additions and 19 deletions

View File

@@ -423,14 +423,14 @@ EOF
## Lux for git 2.17 or more
cat << EOF > /etc/yum.repos.d/lux.repo
[lux]
name=CentOS \$releasever - \$basearch - Lux
baseurl=http://repo.iotti.biz/CentOS/$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LUX
EOF
# cat << EOF > /etc/yum.repos.d/lux.repo
#[lux]
#name=CentOS \$releasever - \$basearch - Lux
#baseurl=http://repo.iotti.biz/CentOS/$releasever
#enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LUX
#EOF
fi

View File

@@ -209,7 +209,7 @@ if [ $SERVER_OS = "CentOS7" ]; then
rm -f /etc/yum.repos.d/ius-archive.repo
rm -f /etc/yum.repos.d/ius.repo
rm -f /etc/yum.repos.d/ius-testing.repo
rm -f /etc/yum.repos.d/lux.repo
# rm -f /etc/yum.repos.d/lux.repo
## Start with PDNS
@@ -273,16 +273,16 @@ EOF
yum install yum-plugin-copr -y
yum copr enable copart/restic -y
## Lux for git 2.17 or more
cat << EOF > /etc/yum.repos.d/lux.repo
[lux]
name=CentOS \$releasever - \$basearch - Lux
baseurl=http://repo.iotti.biz/CentOS/$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LUX
EOF
# ## Lux for git 2.17 or more
#
# cat << EOF > /etc/yum.repos.d/lux.repo
#[lux]
#name=CentOS \$releasever - \$basearch - Lux
#baseurl=http://repo.iotti.biz/CentOS/$releasever
#enabled=1
#gpgcheck=1
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-LUX
#EOF
###