如何在命令行上禁用 XCP-NG Windows Update PCIe 设备
本文向你展示如何在命令行上禁用 XCP-NG windows update 设备。这可以防止自动安装 Citrix 驱动程序,从而可以手动安装自定义版本。
注意你可以在 XenOrchestra 中通过单击轻松禁用 Windows update PCIe 设备,但在 XCP-NG center 中不行! 前提条件:关闭相关虚拟机 - 通常你需要在安装 Windows 之前禁用该设备!
首先,使用以下命令获取虚拟机的 UUID
xe_vm_list.sh
xe vm-list它将为每个虚拟机输出类似以下内容:
uuid ( RO) : 98002b8d-070f-9638-071c-be7e6c82f6a3
xe_vm_list_output.txt
uuid ( RO) : 98002b8d-070f-9638-071c-be7e6c82f6a3
name-label ( RW): CoreOS
power-state ( RO): running从中复制 UUID,如 98002b8d-070f-9638-071c-be7e6c82f6a3。
现在运行:
xe_vm_param_set.sh
xe vm-param-set uuid=YOURUUID has-vendor-device=false例如,
xe_vm_param_example.sh
xe vm-param-set uuid=98002b8d-070f-9638-071c-be7e6c82f6a3 has-vendor-device=false现在你可以启动你的虚拟机,驱动程序安装 PCIe 设备已被禁用。
Check out similar posts by category:
Networking, Virtualization
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow