sed -i '$a exclude=kernel* centos-release* initscripts*' /etc/yum.conf
centos 禁止更新内核
于 2022-10-19 11:12:26 首次发布
sed -i '$a exclude=kernel* centos-release* initscripts*' /etc/yum.conf