Featured resource
2025 Tech Upskilling Playbook
Tech Upskilling Playbook

Build future-ready tech teams and hit key business milestones with seven proven plays from industry leaders.

Check it out
  • Lab
    • Libraries: If you want this lab, consider one of these libraries.
    • Cloud
Google Cloud Platform icon
Labs

Adding Packer Plugins

HashiCorp Packer allows users to create identical, cross-platform machine images by writing templates that leverage our existing infrastructure tools; however, Packer doesn't always offers native support for everything we require. In this hands-on lab, we'll prepare our desired Packer setup by installing some Packer plugins.

Google Cloud Platform icon
Lab platform
Lab Info
Level
Beginner
Last updated
Sep 05, 2025
Duration
15m

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
Table of Contents
  1. Challenge

    Add the Windows Update Plugin
    1. Locate the appropriate binary from the plugin repository and download it:

      wget https://github.com/rgl/packer-provisioner-windows-update/releases/download/v0.9.0/packer-provisioner-windows-update-linux.tgz
      
    2. Expand the file:

      tar zxvf packer-provisioner-windows-update-linux.tgz
      
    3. Make binary executable:

      chmod +x packer-provisioner-windows-update
      
    4. Create the necessary plugins directory:

      mkdir -p ~/.packer.d/plugins
      
    5. Move the binary:

      mv packer-provisioner-windows-update ~/.packer.d/plugins/
      
  2. Challenge

    Add ARM Builder Dependencies
    1. The ARM Builder plugin is a Go module; install a version of Go newer than 1.11.0:

      wget https://go.dev/dl/go1.18.3.linux-amd64.tar.gz
      
      sudo tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz
      
      export PATH=$PATH:/usr/local/go/bin
      
    2. Install the other module dependencies:

      sudo apt install kpartx qemu-user-static
      
  3. Challenge

    Add the ARM Builder Plugin
    1. Pull down the repository:

      git clone https://github.com/solo-io/packer-builder-arm-image.git
      
      cd packer-builder-arm-image
      
    2. Build the module:

      go mod download
      
      go build
      
    3. Move the resulting binary:

      mv packer-plugin-arm-image ~/.packer.d/plugins/
      
    4. Clean up your home directory when finished:

      cd
      
      rm -rf packer*
      
      sudo rm -rf go*
      
About the author

Pluralsight Skills gives leaders confidence they have the skills needed to execute technology strategy. Technology teams can benchmark expertise across roles, speed up release cycles and build reliable, secure products. By leveraging our expert content, skill assessments and one-of-a-kind analytics, keep up with the pace of change, put the right people on the right projects and boost productivity. It's the most effective path to developing tech skills at scale.

Real skill practice before real-world application

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Learn by doing

Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.

Follow your guide

All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.

Turn time into mastery

On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.

Get started with Pluralsight