在CentOS 6下要实现宿主机使用virsh console访问KVM可以说是非常麻烦,但这一问题在CentOS 7已经解决了,只需要两条命令在KVM下即可实现。

1、在KVM(客户机)下开机启动并启动服务

systemctl enable serial-getty@ttyS0.service
systemctl start serial-getty@ttyS0.service

2、在宿主机下访问

virsh console KVM名称

提示:进去之后回车多次即可通过账号密码登录,退出执行Ctrl+]

 

参考:

https://ravada.readthedocs.io/en/latest/docs/config_console.html

相关文章:

  • 2021-11-14
  • 2021-08-30
  • 2022-01-26
  • 2021-05-05
  • 2021-11-04
  • 2022-12-23
  • 2021-07-01
  • 2022-01-03
猜你喜欢
  • 2021-08-05
  • 2021-07-05
  • 2021-06-07
  • 2021-08-08
  • 2021-09-03
  • 2021-08-22
  • 2021-12-06
相关资源
相似解决方案