Proxmox VE qm 方式一键创建Windows虚拟机

前言

实现qm 方式一键创建Windows虚拟机,提高效率。

qm 一键创建Windows虚拟机

  • 以下实现在线下载镜像,创建虚拟机,安装系统需要自己手动安装哦,如果想实现全自动安装系统,建议部署自己的内网pxe server 系统参考

  • 各参数解释参考

  • /var/lib/vz/template/iso 镜像存储目录

  • /var/lib/vz/template/dump 虚拟机备份目录

  • /var/lib/vz/template/images 虚拟机模板目录

  • --ostype win11代表win11和server2022

    download SW_DVD9_Win_Server_STD_CORE_2022_64Bit_English_DC_STD_MLF_X22-74290.iso

    wget -N -P /var/lib/vz/template/iso/ https://fdn.digiboy.ir/dlir-s3/SW_DVD9_Win_Server_STD_CORE_2022_64Bit_English_DC_STD_MLF_X22-74290.iso

    创建虚拟机

    qm create 107
    --name WindowsServer2022
    --ostype win11
    --agent 1
    --machine q35
    --bios seabios
    --boot cdn
    --onboot yes
    --memory 8096
    --vga vmware
    --scsihw pvscsi
    --scsi0 local-lvm:980
    --cores 2 --sockets 1 --cpu x86-64-v2-AES
    --serial0 socket
    --start 0
    --ide2 /var/lib/vz/template/iso/SW_DVD9_Win_Server_STD_CORE_2022_64Bit_English_DC_STD_MLF_X22-74290.iso,media=cdrom
    --net0 vmxnet3,bridge=vmbr0

    启动 107虚拟机

    qm start 107

创建完成虚拟机

安装即可

相关推荐
百事牛科技16 分钟前
Excel的三种密码:防看、防存、防乱改,各管各的
windows·excel
the3clipse1 天前
MPC-HC 下载安装与最佳配置教程:免费开源、轻量无广告、支持 4K 硬解的 Windows 播放器
windows·播放器·安装教程·硬件加速·mpc-hc·字幕设置·lav filters
独隅1 天前
WebStorm Windows 版 React / Next.js 实战替换指南
javascript·windows·webstorm
陈工大模型1 天前
2026年11月最新免费解压软件横评:7-Zip 、 Win解压缩名列前茅
windows·软件工程·7-zip·压缩软件
中二骚年2 天前
Windows 安全中心 / 防火墙故障,calc和Microsoft Store,终端(管理员)无法正常打开。 原因 + 修复方案
windows·安全·microsoft
万联WANFLOW2 天前
CVE-2026-98432 等漏洞自查:AI 查出的 Linux、Windows 漏洞,运维怎么确认受不受影响
linux·运维·windows·网络安全
AlanAshley2 天前
Windows 中导致延迟的软硬件及协议比重
windows
yuezhilangniao2 天前
win10中文 以及 PowerShell 开发日常
windows·powershell
共享家95273 天前
408 操作系统第一章
服务器·数据库·windows
Sakura_j_h_3 天前
GitHub Actions 打包 Windows exe:中文编码与产物上传
windows·ci/cd·打包发布·github·pyinstaller·github actions