-
Notifications
You must be signed in to change notification settings - Fork 153
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
Customize VMWare Guest Info Service to get data from "guestinfo.ovfenv" #127
Comments
Hello, maybe OvfService might be a better option in your case? Thank you. |
Hello, |
Hello, I think we can use the same approach, if it s already standard. Is it possible to provide us the cloud-init metadata service configuration that works on Linux? |
Thank you for your answers. With Linux, I use OVF Datasource with vmware guestinfo seed to retrieve the customization datas which are defined in "guestinfo.ovfenv" built from the vapp properties i configured when deploying. With cloudbase-init, if possible, i'd like to be able to do the same, use OVF as Datasource which will retreive the datas from guestinfo.ovfenv using vmware tools. |
Hi Team, @ader1990 do you know is it planned to implement "guestinfo.ovfEnv" datasource as per above? It would be a great thing to have. As @roct37 mentioned, the good thing is, this method is very similar to already implemented in cloudbase-init "VMware GuestInfo" service. But all data is present into single "guestinfo.ovfEnv" property. In practice, this property contains the same "ovf-env.xml" as present for "regular" ISO transport method. Which for example is:
So the same as rpctool queries guestinfo here: It is all a bit confusing, TBH I was struggling to get my head around it, especially if cloud-init's documentation for OVF datasource is pretty short: But reading these two: |
I prefer to use OVF datasource instead of vmware guestinfo, because OVF is compatible with all platforms with very basic CD-ROM insert. VMware is capable to read OVF data with rpctool or with a cdrom. Linux cloud-init OVF datasource is reading attributes below:
I prefer to use the exactly same config. Otherwise the metadata server will be a nightmare implementation with 2 different output styles. Source: https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceOVF.py The solution is not revelant to VMware Guestinfo Service, rather it is revelant to the OVFService |
Hello,
Cloudinit gets userdatas and metadatas from the extra config key "guestinfo.ovfenv" on the vm properties which is built from ovf environment properties but cloudbase-init seems to only look for "guestinfo.userdata" and "guestinfo.metada". I use a terraform provider which doesnt allow me to add any vmware extra config properties, only vapp properties can be set.
Is it possible to customize cloudbase-init to look in "guestinfo.ovfenv" ?
Thanks in advance for every answers.
The text was updated successfully, but these errors were encountered: