Skip to content

Instantly share code, notes, and snippets.

@sunckell
Created June 28, 2016 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sunckell/5ad3d9f30ffd99af75e54e97a6b4d7c6 to your computer and use it in GitHub Desktop.
Save sunckell/5ad3d9f30ffd99af75e54e97a6b4d7c6 to your computer and use it in GitHub Desktop.
overwrite configuration in vsphere post-processor broken
2016/06/28 13:17:08 packer.exe: 2016/06/28 13:17:08 Starting ovftool with parameters: --noSSLVerify=true --acceptAllEulas --name="myname" --datastore="mydatastore" --diskMode="thin" --network="mynetwork" --vmFolder="myfolder" packer-rhel-7.2-x86_64-automation-base-vmware\rhel-7.2-x86_64-automation-base.vmx "vi://myusername:mypassword@myhost:443/mydatacenter/host/mycluster" --overwrite
==> vmware-iso: Running post-processor: vsphere
vmware-iso (vsphere): Uploading packer-rhel-7.2-x86_64-automation-base-vmware\rhel-7.2-x86_64-automation-base.vmx to vSphere
vmware-iso (vsphere): Uploading packer-rhel-7.2-x86_64-automation-base-vmware\rhel-7.2-x86_64-automation-base.vmx to vSphere
2016/06/28 13:17:08 Deleting original artifact for build 'vmware-iso'
2016/06/28 13:17:08 ui error: Build 'vmware-iso' errored: 1 error(s) occurred:
* Post-processor failed: Failed: exit status 1
Stdout: Error: Unexpected option: --overwrite
Completed with errors
Build 'vmware-iso' errored: 1 error(s) occurred:
* Post-processor failed: Failed: exit status 1
2016/06/28 13:17:08 Builds completed. Waiting on interrupt barrier...
2016/06/28 13:17:08 machine readable: error-count []string{"1"}
2016/06/28 13:17:08 ui error:
==> Some builds didn't complete successfully and had errors:
2016/06/28 13:17:08 machine readable: vmware-iso,error []string{"1 error(s) occurred:\n\n* Post-processor failed: Failed: exit status 1\nStdout: Er
ror: Unexpected option: --overwrite\r\nCompleted with errors\r\n"}
2016/06/28 13:17:08 ui error: --> vmware-iso: 1 error(s) occurred:
* Post-processor failed: Failed: exit status 1
Stdout: Error: Unexpected option: --overwrite
Completed with errors
2016/06/28 13:17:08 ui:
==> Builds finished but no artifacts were created.
2016/06/28 13:17:08 waiting for all plugin processes to complete...
Stdout: Error: Unexpected option: --overwrite
Completed with errors
==> Some builds didn't complete successfully and had errors:
--> vmware-iso: 1 error(s) occurred:
* Post-processor failed: Failed: exit status 1
Stdout: Error: Unexpected option: --overwrite
Completed with errors
==> Builds finished but no artifacts were created.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment