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

vmware-rpctool info-get guestinfo.userdata returns no value but works for ovfEnv #70

Closed
DOMZE opened this issue Apr 11, 2021 · 1 comment

Comments

@DOMZE
Copy link

DOMZE commented Apr 11, 2021

Hello,
I have setup my virtual machines with vApp options properties such as guestinfo.userdata, to comply with what is asked in the Configuration section:

The data source is configured by setting guestinfo properties on a VM's extraconfig data or a customizable vApp's properties data.

The OVF environment transport is set to VMware Tools

when I do in the guest VM
vmtoolsd --cmd "info-get guestinfo.ovfEnv" or vmware-rpctool "info-get guestinfo.ovfEnv" I get data back and I see my properties in the form

<PropertySection><Property oe:key="guestinfo.userdata" oe:value="<base64\_value"/></PropertySection>

but when doing

vmtoolsd --cmd "info-get guestinfo.userdata" or vmware-rpctool "info-get guestinfo.userdata" I get No value found

What am I doing wrong?
vmtoolsd -v returns VMware Tools daemon, version 11.2.5.26209 (build-17337674) and i'm using Ubuntu 20.04.2

My problem seems to be related to the other issue #67

Looking for your guidance here. Would like not to have to put those properties in the VM's extraconfig

@DOMZE
Copy link
Author

DOMZE commented Apr 16, 2021

Finally, the OVF datasource in cloud-init itself supports guestinfo now, which I didn't know. This datasource is not necessary anymore

@DOMZE DOMZE closed this as completed Apr 16, 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

1 participant