Skip to content

P02-T02 - Create VMID 4000

Objective

Create the Windows Server 2025 golden image VM in Proxmox with the exact parameters used in the source deployment and prepare it for manual OS installation on the build network.

Inputs

Key Value
VMID 4000
Name TPL-WS2025
Storage local-zfs
Bridge GEILLAN
VLAN tag 110
Windows ISO local:iso/en-us_windows_server_2025_x64_dvd_b7ec10f3.iso
VirtIO ISO local:iso/virtio-win.iso

Target State

Property Value
Description Windows Server 2025 Standard golden image
BIOS ovmf
Agent enabled=1,fstrim_cloned_disks=1
SCSI controller virtio-scsi-single
Boot order ide2 during install
EFI disk local-zfs:1,efitype=4m,pre-enrolled-keys=0
OS disk local-zfs:64,discard=on,iothread=1,ssd=1

Prechecks

  • Complete P01-T03 and ensure vlan110-build exists with 172.20.110.1/24.
  • Confirm VMID 4000 is unused before creation.
  • Confirm both ISO names match the storage inventory exactly.

Creation-only procedure

These commands create a new source VM and are destructive if the VMID is reused. The current lab already has protected template 4000; do not execute this section against it. Use a new approved build VMID when rebuilding.

Execution

On H1:

VMID=4000

qm status "$VMID" >/dev/null 2>&1 && {
  echo "ERROR: VMID $VMID already exists"
  exit 1
}

qm create 4000 \
  --name TPL-WS2025 \
  --description "Windows Server 2025 Standard golden image" \
  --ostype win11 \
  --machine q35 \
  --bios ovmf \
  --cpu host \
  --sockets 1 \
  --cores 2 \
  --memory 4096 \
  --balloon 0 \
  --scsihw virtio-scsi-single \
  --agent enabled=1,fstrim_cloned_disks=1 \
  --net0 virtio,bridge=GEILLAN,tag=110,firewall=0 \
  --vga std \
  --tablet 1 \
  --onboot 0 \
  --tags "golden-image;windows;server2025;build"

qm set 4000 \
  --efidisk0 local-zfs:1,efitype=4m,pre-enrolled-keys=0

qm set 4000 \
  --scsi0 local-zfs:64,discard=on,iothread=1,ssd=1

qm set 4000 \
  --ide2 local:iso/en-us_windows_server_2025_x64_dvd_b7ec10f3.iso,media=cdrom

qm set 4000 \
  --ide3 local:iso/virtio-win.iso,media=cdrom

qm set 4000 --boot order=ide2

qm config 4000
qm start 4000
qm status 4000

Install Windows manually from the Proxmox console:

  1. Select Windows Server 2025 Standard (Desktop Experience).
  2. If no disk appears, choose Load driver.
  3. From the VirtIO ISO, load vioscsi\2k25\amd64.
  4. If that path does not exist, use vioscsi\2k22\amd64.
  5. Select the 64 GB disk and continue installation.

During initial build, use the temporary build network settings:

  • IP: 172.20.110.10
  • Mask: 255.255.255.0
  • Gateway: 172.20.110.1
  • DNS 1: 1.1.1.1
  • DNS 2: 9.9.9.9

Validation

  • qm config 4000 includes the exact ISO attachments and tag=110.
  • Windows boots into the approved edition.
  • The installer sees the 64 GB system disk after loading the VirtIO driver.
  • The guest has temporary connectivity on 172.20.110.10/24.
  • This task validates VM construction only. P02-T04 and P02-T05 must still pass before template publication.

Evidence

  • Output of qm config 4000
  • Output of qm status 4000
  • Screenshot of disk visibility after VirtIO driver load

Rollback

  • Destroy and recreate VMID 4000 if firmware, disks, or ISO bindings are wrong.
  • Do not reuse a partially misbuilt template VM as the base for production clones.