I am using the cloud-init template and attaching it using LifeCycle Provisioning. The file is being written to %SYSTEMDRIVE%\AzureData\CustomData.bin but it is not executing. Has anyone been able to get this to work?
thanks
I am using the cloud-init template and attaching it using LifeCycle Provisioning. The file is being written to %SYSTEMDRIVE%\AzureData\CustomData.bin but it is not executing. Has anyone been able to get this to work?
thanks
That script is in linux. I wouldn’t even know where to begin to get that to work.
For now I am using the azure-armrest gem for Azure Custom Script Extension as a step in the post build. We use cloud-init type for the customization template that just has a mapping of the dialog values we need to use and the script executed by the Script extension reads those in at execution time.