CentOS7 开机时的菜单选择时间由5秒缩短为1秒,编辑文件:
vi /boot/grub2/grub.cfg
修改 /boot/grub2/grub.cfg 中的以下部分内容后重启 CentOS7,OK!
#将开机时的菜单选择时间由5秒缩短为1秒 #将 set timeout=5 修改为 set timeout=1 即可 terminal_output console if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=1 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=1 fi