mirror of
https://github.com/hashicorp/packer.git
synced 2026-02-28 20:41:21 -05:00
* Modifies the amazon-ebs builder with a windows build configuration ``` ⇶ ACC_TEST_BUILDERS=amazon-ebs ACC_TEST_PROVISIONERS=powershell go test -v ./provisioner/powershell/... -run=TestPowershellProvisioner_Inline --- PASS: TestPowershellProvisioner_Inline (256.50s) --- PASS: TestPowershellProvisioner_Inline/testing_amazon-ebs_builder_against_powershell_provisioner (256.50s) PASS ok github.com/hashicorp/packer/provisioner/powershell 256.525s ```
8 lines
194 B
Text
8 lines
194 B
Text
{
|
|
"type": "powershell",
|
|
"environment_vars": "PackerRunUUID={{build `PackerRunUUID`}},ID={{build `ID`}}",
|
|
"inline": [
|
|
"Write-Host \"$env:ID for provisioner.$env:PackerRunUUID\""
|
|
]
|
|
}
|
|
|