Nerd For Tech
Published in

Nerd For Tech

Packer / Sysprep error - IMAGE_STATE_UNDEPLOYABLE on Azure

The problem

Part of the Packer build process is to generalize the image ready for deployment.

At the time of writing (Aug 2021) Following the guidance from the Packer docs, it says you should add the following config to achieve this (I’m using HCL, not JSON):

# Generalize image

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jack Roper

Jack Roper

841 Followers

A tech blog about Cloud and DevOps. Specializing in Azure, Azure DevOps, Terraform & Kubernetes! ☁️