ImageTemplateShellCustomizer interface

Runs a shell script during the customization 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

scriptUri

URI of the shell script to be run for customizing. It can be a github link, SAS URI for Azure Storage, 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 customization 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 customizing. It can be a github link, SAS URI for Azure Storage, 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 customization step does

name?: string

Property Value

string

Inherited From ImageTemplateCustomizer.name