ImageTemplateShellValidator interface
Runs the specified shell script during the validation phase (Linux). Corresponds to Packer shell provisioner. Exactly one of 'scriptUri' or 'inline' can be specified.
- Extends
Properties
inline | Array of shell commands to execute |
script |
URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc |
sha256Checksum | SHA256 checksum of the shell script provided in the scriptUri field |
type | Polymorphic discriminator, which specifies the different types this object can be |
Inherited Properties
name | Friendly Name to provide context on what this validation step does |
Property Details
inline
Array of shell commands to execute
inline?: string[]
Property Value
string[]
scriptUri
URI of the shell script to be run for validation. It can be a github link, Azure Storage URI, etc
scriptUri?: string
Property Value
string
sha256Checksum
SHA256 checksum of the shell script provided in the scriptUri field
sha256Checksum?: string
Property Value
string
type
Polymorphic discriminator, which specifies the different types this object can be
type: "Shell"
Property Value
"Shell"
Inherited Property Details
name
Friendly Name to provide context on what this validation step does
name?: string
Property Value
string
Inherited From ImageTemplateInVMValidator.name