How to use a shell script from packer server to run on provisioner also followed by the waagent deprovision inline command for Azure.
When I tried, I got an error saying packer allows either of one.
If I restrict to just script, the provisioner completes and the image gets created. But im unable to login to the deployed VMs from this image. It says invalid login method ( May be its with key or something ).
Am I missing something. Please help.
Thanks & Regards,