Closed Badgerati closed 7 years ago
Say you have a custom script that accepts arguments; and you pass these arguments in on the provisioner list for a VM.
So you define the provisioner as:
"provisioners": { "example": "custom: .\\script.ps1" }
and then you call the provisioner with:
"templates": [ { "provisioner": [ "example: argument1 | argument2" ] } ]
Then the check on the VM template to see if "example" exists will fail - probably because it's trying to find "example: arg..." rather than just "example".
Say you have a custom script that accepts arguments; and you pass these arguments in on the provisioner list for a VM.
So you define the provisioner as:
and then you call the provisioner with:
Then the check on the VM template to see if "example" exists will fail - probably because it's trying to find "example: arg..." rather than just "example".