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

The Cynamics Journey to AWS GovCloud

How to Conduct a System Design Interview

Mock Stripe API in Laravel with Mockery

Bypass Azure AD authentication using Selenium C# on release pipeline

How To create Kubernetes Multi-Node Cluster Over Multi-Cloud

Implemented real-time updates of all fields in our liquidity locking staking pools, without manual…

Step up your Terminal skills by learning the basics of Tmux and how it's used in Linux

Boredom, is the mother of invention.

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)