标签:重启 case centos7 set normal etc menu 内容 root
CentOS7开机时的菜单选择时间由5秒缩短为2秒,尝试过修改:
[root@centos7 ~] #2> vim /etc/default/grub
修改timeout =2
[root@centos7 ~] #3> vim /boot/grub2/grub.cfg
修改centos/grub.cfg中的以下部分内容后重启CentOS7,OK!
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=2
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=2
fi
标签:重启 case centos7 set normal etc menu 内容 root
原文地址:https://www.cnblogs.com/Sky-Raining/p/9870423.html