You can use command arguments to set the execution parameters of the deployment command.

You can add a space-separated list of arguments to the CLI deployment command.

vcsa-deploy install path_to_the_json_file list_of_arguments

Argument

Description

--accept-eula

Accepts the end-user license agreement.

Required for executing the deployment command.

--acknowledge-ceip

Confirms your acknowledgement of your VMware Customer Experience Improvement Program (CEIP) participation.

Required if the ceip.enabled parameter is set to true in the JSON deployment template.

-v, --verbose

Adds debug information to the console output.

-t, --terse

Hides the console output. Displays only warning and error messages.

--log-dir LOG_DIR

Sets the location of the log and other output files.

--skip-ovftool-verification

Performs basic verification of the configuration parameters in the JSON file and deploys the appliance. Does not perform verification of the OVF Tool parameters.

--no-esx-ssl-verify

Skips the SSL verification for ESXi connections.

Important:

Avoid using this option because it might cause problems during deployment or after deployment because of not validated identity of the target ESXi host.

--deployment-target-ssl-thumbprint TARGET_THUMBPRINT

Thumbprint to pass to the OVF Tool for verifying the target ESXi host or vCenter Server instance on which you want to deploy the appliance.

--pause-on-warnings

Pauses and waits for acknowledgment of warnings.

--verify-only

Performs basic verification of the configuration parameters in the JSON file and verification of the OVF Tool parameters. Does not deploy the appliance.

--sso-ssl-thumbprint SSL-SHA1-THUMBPRINT

Validates server certificate against the supplied SHA1 thumbprint.

-h, --help

Displays the help message for the vcsa-deploy install command.

--template-help

Displays the help message for the use of configuration parameters in the JSON deployment file.

After the execution finishes, you can get the exit code of the command.

Exit Code

Description

0

Command ran successfully

1

Runtime error

2

Validation error

3

Template error