RepositoryPowerShellDKĐan Mạch
Baune8D

Baune8D/packer-windows-desktop

Packer template that builds Windows 11 desktop Vagrant boxes for Hyper-V, Parallels, VirtualBox and VMware from your own ISO.

53sao
18fork
0issue
2lượt xem

Windows 11 Desktop Templates For Packer

Based on https://github.com/StefanScherer/packer-windows
which is forked from https://github.com/joefitzgerald/packer-windows

Prebuilt images can be found here: https://app.vagrantup.com/baunegaard

This repository aims at creating Windows desktop boxes with a minimum of changes.
It will only change what is necessary for packer and vagrant to properly work.

Setup

Requires:

  • Packer available in PATH
  • Windows 11 ISO in iso folder: See instructions
  • (Hyper-V only) Either xorriso, mkisofs, hdiutil og oscdimg in PATH
  • oscdimg can be installed through the Windows ADK or choco install windows-adk-oscdimg

To use the default settings, execute from repo root:

  • Windows: .\build_windows_11.bat <vm_type>
  • Linux / macOS: ./build_windows_11.sh <vm_type>

<vm_type> Can be either vmware, virtualbox, parallels or hyperv.

Information:

Settings can be modified in the windows_11.pkr.hcl files.
Shared variables can be found at the bottom of the file.

NOTE if you want to validate a checksum against your iso, change iso_checksum to match your iso file, e.g. sha256:E239FF...

The result output will be a box file named: windows_11_<vm_type>.box

Newest availble guest tools will be fetched and installed for VMware and Virtualbox.
For Parallels, the guest tools of the version you are building with is installed.

Microsoft updates are enabled and all available Windows updates will be installed on build.

The script will adjust the following settings for Packer and Vagrant compatibility:

  • WinRM service configured and started automatically.
  • 32 & 64 bit Powershell execution policy set to RemoteSigned.
  • UAC disabled.
  • Networks set to private.
  • Hibernation disabled.
  • Screensaver disabled.
  • Automatic logon enabled.
  • Default admin user: vagrant
  • Default admin password: vagrant

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryShell
timsutton/osx-vm-templates

macOS templates for Packer and VeeWee.

1.1k
May 28, 2024
RepositoryShell
ruzickap/packer-templates

Scripts and Templates used for generating Vagrant images

452
Nov 22, 2025
RepositoryPowerShell
MattHodge/PackerTemplates

Packer Templates for building Windows Operating Systems

167
Feb 4, 2018
RepositoryHCL
chef/bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms

4.5k
Nov 5, 2026
RepositoryShell
oracle/vagrant-projects

Vagrant projects for Oracle products and other examples

1.0k
Nov 18, 2026
RepositoryShell
geerlingguy/packer-boxes

Jeff Geerling's Packer build configurations for Vagrant boxes.

670
Dec 5, 2025
RepositoryRuby
bacongravy/macinbox

Puts macOS in a Vagrant box

656
Dec 3, 2020
RepositoryShell
kaorimatz/packer-templates

Packer templates for Vagrant base boxes

490
Sep 13, 2020
RepositoryHCL
tylert/packer-build

Packer Automated VM Image and Vagrant Box Builds

309
Mar 28, 2026