From 5feb9d47add29e54ca5958e3893cbc744c3ef0ed Mon Sep 17 00:00:00 2001 From: Dich Date: Wed, 23 Apr 2025 21:52:49 +0800 Subject: [PATCH] update:win-all --- content/windows-all.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/content/windows-all.md b/content/windows-all.md index 3252da7..0ec71a4 100644 --- a/content/windows-all.md +++ b/content/windows-all.md @@ -133,10 +133,6 @@ qemu-img convert -f qcow2 -O vmdk input.qcow2 output.vmdk ``` qemu-img convert -f qcow2 -O vdi input.qcow2 output.vdi ``` -- qcow2 转 vhd(Hyper-V) -``` -qemu-img convert -f qcow2 -O vpc input.qcow2 output.vhd -``` - qcow2 转 vhdx(新版 Hyper-V) 目前 qemu-img 不能直接输出 vhdx,但你可以先转成 vhd,再用微软工具(如 Convert-VHD)转换为 vhdx: @@ -156,8 +152,6 @@ Convert-VHD -Path "C:\路径\源文件.vhd" -DestinationPath "C:\路径\目标 > 虚拟机固定IP -您可以通过以下步骤更新 Netplan 配置文件,以设置静态 IP 地址和默认路由:​ - 编辑 Netplan 配置文件: ``` sudo nano /etc/netplan/00-installer-config.yaml