Skip to content

sier/packer_proxmox_windows_server_2022_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

packer_proxmox_windows_server_2022_example

An example for setting up Windows VMs using Packer for Proxmox

Pre-requisites

* = Required

Commands & Installation

Run the following commands to build your Windows Server 2022 Proxmox template:

Initialize Packer:

packer init -var-file "variables.pkrvars.hcl" ./windows-2022.pkr.hcl

Validate the Packer template configuration:

packer validate -var-file "variables.pkrvars.hcl" ./windows-2022.pkr.hcl

Build the Packer template:

packer build -var-file "variables.pkrvars.hcl" ./windows-2022.pkr.hcl

Tip: You can also use just a single . if you want to automate without knowing the name of the packer configuration.

packer build -var-file "variables.pkrvars.hcl" .

Debugging & Troubleshooting

You can set the debug flag in powershell using:

$Env:PACKER_LOG="1"

You will then see debug log messages in the terminal and get a text copy in the same directory as where you ran packer.

About

An example for setting up Windows VMs using Packer for Proxmox

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages