1.原因:需要在虚拟机上开启ttyS0
2.设置方法
a=$(cat /etc/securetty | grep ttyS0)
if [ “$a” = “” ];then echo “ttyS0”>>/etc/securetty;fi
grubby --update-kernel=ALL --args=“console=ttyS0”
reboot
1.原因:需要在虚拟机上开启ttyS0
2.设置方法
a=$(cat /etc/securetty | grep ttyS0)
if [ “$a” = “” ];then echo “ttyS0”>>/etc/securetty;fi
grubby --update-kernel=ALL --args=“console=ttyS0”
reboot