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

--

--

--

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Recommended from Medium

How to Use AWS API Gateway with Let’s Encrypt

HOW TO ACCESS THE CPANEL ON BLUEHOST

10 Best Food Delivery WordPress Online Store Themes

Why Floats Are Inaccurate

Project Fundamental.in Clone

A Year with NixOS

The BEST way to structure your Terraform projects!

Product Review: MacBook Pro (Fall 2021)

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

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

More from Medium

Azure DevOps build agent warning — migration from Node6 execution handler to Node 10

Connect to Azure Kubernetes Service from your local

Azure Network Security Groups (NSG) using a central ‘address book’ (Infrastructure as code — bicep)

Use Terraform and Azure DevOps to Provision Azure Kubernetes Service (AKS)