packer/provisioner/shell
Lucas Bajolet c99b300e3a
Add support for Env in remote shell provisioners (#11819)
* provisioner/shell: add support for Env variables

As mentioned in issue #11670, the Shell provider did not support Env
variable declarations in the HCL templates.
This commit adds the capability to the code.

* provisioner/powershell: add support for Env vars

* provisioner/windows-shell: support Env variables
2022-05-31 09:49:38 -04:00
..
test-fixtures Refactor provisioner acceptance tests to shell directly out to Packer rather than import the core. Modify test case formatting to more closely reflect the builder test cases. 2020-12-07 15:45:16 -08:00
version remove sdk 2020-12-17 13:29:25 -08:00
provisioner.go Add support for Env in remote shell provisioners (#11819) 2022-05-31 09:49:38 -04:00
provisioner.hcl2spec.go all shells: Pass env vars through a key value store (#11569) 2022-02-16 12:05:44 +01:00
provisioner_acc_test.go remove sdk 2020-12-17 13:29:25 -08:00
provisioner_test.go Add support for Env in remote shell provisioners (#11819) 2022-05-31 09:49:38 -04:00
unix_reader.go provisioner/shell: comment on why we return right away if advance == 0 2013-10-15 09:48:12 -10:00
unix_reader_test.go provisioner/shell: fix EOF detection 2013-10-15 05:56:10 -07:00