Skip to content

Commit e7327ef

Browse files
authored
Create centos8.sh
1 parent 1dc82ff commit e7327ef

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

linux/centos8.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
cp -a /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.bak
2+
wget -O /etc/yum.repos.d/CentOS-Base.repo https://repo.huaweicloud.com/repository/conf/CentOS-8-reg.repo
3+
yum clean all
4+
yum makecache

0 commit comments

Comments
 (0)