Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packer/builders/skills/windows-builder/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ build {
sources = ["source.amazon-ebs.windows"]

# Install Chocolatey
# NOTE: The iex + DownloadString pattern executes a remote script directly in
# memory without verifying its integrity. For production images, consider using
# the official signed installer from https://chocolatey.org/install or
# verifying the downloaded script's checksum before execution.
# See: https://docs.chocolatey.org/en-us/choco/setup/#more-install-options
provisioner "powershell" {
inline = [
"Set-ExecutionPolicy Bypass -Scope Process -Force",
Expand Down