Need help to configure the script file in Azure DevOps #3816
Replies: 1 comment 1 reply
-
Hi, @arunkumar5358
For example:
"execute_command": "sudo sh -c '{{ .Vars }} {{ .Path }}'" converts into |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have created a json file and used the below value in the template, i am using build immutable option to create the image using azure pipeline, but i am getting the below error, i am not sure what is the right way to use the template, can some please help me to rectify the issue? It would be good if someone explains clearly where to configure the variables such as {{template_dir}}, {{ .Vars }} {{ .Path }}'
"* Bad script '/agent/_work/1/s/packer/scripts/base/apt-mock.sh': stat /agent/_work/1/s/packer/scripts/base/apt-mock.sh: no such file or directory"
Beta Was this translation helpful? Give feedback.
All reactions