Hi,
We are trying to deploy a customized image into azure using packer, (OS: OEL9) while running the packer code we are getting the below error. Could you please help me on this issue to fix.
“statusMessage”: “{"status":"Failed","error":{"code":"ResourceOperationFailure","message":"The resource operation completed with terminal provisioning state ‘Failed’.","details":[{"code":"OSProvisioningTimedOut","message":"OS Provisioning for VM ‘pkrvmkjbsyfz9zs’ did not finish in the allotted time. The VM may still finish provisioning successfully. Please check provisioning state later. Also, make sure the image has been properly prepared (generalized).\r\n * Instructions for Windows: https://azure.microsoft.com/documentation/articles/virtual-machines-windows-upload-image/ \r\n * Instructions for Linux: https://azure.microsoft.com/documentation/articles/virtual-machines-linux-capture-image/ \r\n * If you are deploying more than 20 Virtual Machines concurrently, consider moving your custom image to shared image gallery. Please refer to Create an image definition and image version - Azure Virtual Machines | Microsoft Learn for the same."}]}}”,