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

You can add a space-separated list of arguments to the CLI upgrade command.
vcsa-deploy upgrade path_to_the_json_file list_of_arguments 
Argument Description

Accepts the end-user license agreement.

Required for executing the deployment command.


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.

Skips the SSL verification for ESXi connections.

Important: Avoid using this option because it might cause problems during upgrade or after upgrade because of not validated identity of the target 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 new appliance.
--pause-on-warnings Pauses and waits for acknowledgment of warnings.
--verify-template-only Performs only the basic template verification. Does not run additional prechecks and does not deploy the new appliance.
--precheck-only Installs Upgrade Runner on the source appliance and runs a complete set of prechecks without performing the upgrade.
-h, --help Displays the help message for the vcsa-deploy upgrade command.
--template-help Displays the help message for the use of configuration parameters in the JSON upgrade 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