mirror of
https://github.com/xubiaolin/docker-zerotier-planet.git
synced 2025-02-02 01:38:14 -05:00
update-kernel
This commit is contained in:
parent
1cc41f70dd
commit
7c216f5ec9
@ -24,7 +24,7 @@ update_centos_kernal(){
|
||||
read -p "是否继续升级内核?(y/n)" continue_update
|
||||
continue_update=${continue_update:-n}
|
||||
if [[ "$continue_update" =~ ^[Yy]$ ]]; then
|
||||
echo "开始升级内核..."
|
||||
echo "如果配置较低,可能升级时间较长,请耐心等待!开始升级内核..."
|
||||
yum update -y
|
||||
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
|
||||
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm -y
|
||||
|
Loading…
Reference in New Issue
Block a user