Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting VMWare Resource ID/Value Loading Order for Importing VM-Template to Content Library #58

Conversation

vmichel95
Copy link
Contributor

Correcting VMWare resource reference value lookup order for ResourcePool and VMHomeStorage since they are dependent on the original input values for Cluster and Host

packer-plugin-vsphere:v0.0.1 - Execution Error Messae:

 ==> dnsmasq.vsphere-clone.vm-base: Importing VM template packer-dnsmasq:0.0.0-1b965293-alpine-3.12.6 to Content Library...
 ==> dnsmasq.vsphere-clone.vm-base: Failed to import template packer-dnsmasq:0.0.0-1b965293-alpine-3.12.6: resource pool 'domain-c346/Resources/HashiCorpPackerVMs' not found
 ==> dnsmasq.vsphere-clone.vm-base: Provisioning step had errors: Running the cleanup provisioner, if present...

…ool and VMHomeStorage since they are dependent on the original input values for Cluster and Host
@vmichel95 vmichel95 requested a review from a team as a code owner April 30, 2021 03:15
@hashicorp-cla
Copy link

hashicorp-cla commented Apr 30, 2021

CLA assistant check
All committers have signed the CLA.

@sylviamoss
Copy link
Contributor

I haven't tested this yet, but did the execution work after these changes? The current implementation always worked for me.

Copy link
Contributor

@sylviamoss sylviamoss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it and it looks good to me! 👍🏼 Thanks

@sylviamoss sylviamoss merged commit 08edace into hashicorp:main May 11, 2021
hmalphettes pushed a commit to hmalphettes/packer-plugin-vsphere that referenced this pull request May 7, 2022
Bumps [github.com/hashicorp/hcl/v2](https://github.com/hashicorp/hcl) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/hashicorp/hcl/releases)
- [Changelog](https://github.com/hashicorp/hcl/blob/main/CHANGELOG.md)
- [Commits](hashicorp/hcl@v2.9.1...v2.10.0)

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
powertim pushed a commit to powertim/packer-plugin-vsphere that referenced this pull request Nov 14, 2023
…ool and VMHomeStorage since they are dependent on the original input values for Cluster and Host (hashicorp#58)
@hashicorp hashicorp locked and limited conversation to collaborators Jun 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants