VMware Cloud Community
abergman89
Contributor
Contributor

Get org. metadata from guest customization script

Hi,

Is it possible to retrieve/use values stored as metadata on the Organization from a guest customization script?

Say that i store a key as metadata on the Organization and in my guest customization id like to run a command using that licence key, is this possible?

Br

Andreas

0 Kudos
2 Replies
IamTHEvilONE
Immortal
Immortal

I don't believe that this is possible right now.  You'd have to manually put the key into the post customization script directly.

The reason is that the post customization script only gets passed 1 parameter.

The metadata as you see it in vCloud Director is attributes about specific objects for other purposes, like using the API to scan for certain tags.

abergman89
Contributor
Contributor

Thx, I suspected that this was the case.

To get around this I'll build a vCO workflow to put the necessary files and data inside the VM.

0 Kudos