给每台虚拟机设置独立控制台密码

编辑虚拟机配置文件

root@build:/etc/libvirt/qemu# pwd

/etc/libvirt/qemu

root@build:/etc/libvirt/qemu# vim zhanghaimin-ubuntu25.04.xml

原来的配置

<graphics type='spice' autoport='yes'>

<listen type='address'/>

<image compression='off'/>

</graphics>

修改后的配置

<graphics type='spice' autoport='yes' passwd='你要设置的密码'>

<listen type='address'/>

<image compression='off'/>

</graphics>

更新配置

virsh define zhanghaimin-ubuntu25.04.xml

相关推荐
皆圥忈几秒前
Linux 进程从入门到实战(二)
linux
peihexian10 分钟前
我也试试qemu虚拟化
linux·运维
阳光九叶草LXGZXJ11 分钟前
达梦数据库-学习-57-读写数据页超时告警排查(page[x,x,xxxxxx] disk write uses)-DSC集群版
linux·运维·服务器·数据库·sql·学习
lolo大魔王24 分钟前
Linux监测磁盘空间
linux·运维·服务器
不仙52025 分钟前
Rocky Linux 8.10 TigerVNC 安装配置指南
linux·服务器·网络
浮生若城26 分钟前
Linux基础I/O(1)
linux·运维·服务器
阳光九叶草LXGZXJ30 分钟前
达梦数据库-堆栈看问题-01-asmapi_asm_extent_load
linux·运维·数据库·sql·学习
tedcloud12330 分钟前
agent-skills部署教程:打造工程化AI Agent系统
服务器·人工智能·系统架构·powerpoint·dreamweaver
Ujimatsu31 分钟前
虚拟机安装openSUSE 16.0及其常用软件(2026.5)
linux·运维·服务器
你的保护色33 分钟前
ensp之STP、RSTP、MSTP协议实验
java·服务器·数据库