Merge pull request #23 from qtwrk/master

Fix some epel-release repo misconfiguration which caused packages miss and unable to install.
This commit is contained in:
Usman Nasir
2018-03-14 11:58:22 +05:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -1,4 +1,9 @@
#!/bin/bash
yum autoremove epel-release -y
rm -f /etc/yum.repos.d/epel.repo
rm -f /etc/yum.repos.d/epel.repo.rpmsave
yum install epel-release -y
#some provider's centos7 template come with incorrect or misconfigured epel.repo
yum clean all
yum update -y
yum install wget which curl -y

View File

@@ -1,4 +1,9 @@
#!/bin/bash
yum autoremove epel-release -y
rm -f /etc/yum.repos.d/epel.repo
rm -f /etc/yum.repos.d/epel.repo.rpmsave
yum install epel-release -y
#some provider's centos7 template come with incorrect or misconfigured epel.repo
yum clean all
yum update -y
yum install wget which curl -y
@@ -9,4 +14,4 @@ tar xzvf install.tar.gz
cd install
chmod +x install.py
server_ip="$(wget -qO- http://whatismyip.akamai.com/)"
python install.py $server_ip
python install.py $server_ip