Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Terraform #5

Closed
excilsploft opened this issue Apr 16, 2019 · 3 comments
Closed

Terraform #5

excilsploft opened this issue Apr 16, 2019 · 3 comments

Comments

@excilsploft
Copy link

This appears not to work with Terraform, I created an OVA with packer (installing the RPM) from the README, importing to a vcenter and marking it as a template. GOVC appears to use the Govmomi Toolbox and I am not clear that terraform does. Do I need to edit the OVF manifest, add in the deployment properties, update the sha sum and then push that? I guess the short version of this question is that does this only work with GOVC as written?

@akutz
Copy link
Contributor

akutz commented Apr 17, 2019

Hi @excilsploft,

  1. Terraform doesn't really factor into the equation. It's about how you're setting the guest information. That said, it works with Terraform. Please see this example.
  2. OVF has nothing to do with this. This is about the guest info properties, one of which happens to be the OVF envelope.
  3. Govc has nothing to do with this.
  4. The Toolbox has nothing to do with this.

I simply used govc as an example of how to set the guest info properties, but those values could be set any way you deem fit. The only thing needed to make this work on the server is:

  1. cloud-init
  2. VM Tools
  3. This project

@excilsploft
Copy link
Author

Thanks I just re-read your README this morning and noticed the extra_config which seems to be key (without setting up deploy properties in the ovf manifest) I haven't had a chance to test yet but I appreciate your response and the linked example. I really appreciate this project too because I wrote a similar (albeit differently implemented ) thing last summer when I found the OVF provider in cloud-init did nothing useful

@akutz
Copy link
Contributor

akutz commented Aug 11, 2021

This issue is being closed because this datasource has been merged into cloud-init (canonical/cloud-init#953):

Component Source Tests
Datasource DataSourceVMware.py test_vmware.py
Identification ds-identify test_ds_identify.py
Documentation vmware.rst

In order to participate in the growth of this datasource moving forward, please:

Once again, many thanks to the wonderful community that has grown around this datasource, and I look forward to seeing everyone in the new cloud-init forums!

@akutz akutz closed this as completed Aug 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants