You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.
Up, I'm interested to this too, because I'm trying to figure out how to pass the storage account key to a Powershell script, so that it can mount the Azure Files share and install in the VM things inside the Azure Files share.
Hi @Stijnc, @cbroglia - Sorry for the delay in getting to this. As you mentioned, there is currently not a way in the template to specify env vars, but this is a popular ask, as is on our backlog. The only thing I can suggest is to dynamically create/update a script file with these env vars as part of the build pipeline, and then get AIB to download the script on each execution. I will leave this open, and in August we will review the backlog.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
was wondering if the Azure image builder PowerShell provisioner provides the means to inject 'parameters' to further use in the scripts.
In packer one can use environment vars to inject values before script execution.
I did not find any example in the repo or in the docs online.
The following ARM template provides a workaround, but this isn't suitable when using a script ref?
could you provide any guidance?
Thanks,
Stijn
The text was updated successfully, but these errors were encountered: