I use only one blueprint for all types of VM (linux, windows).
I'm not sure to understand what is "customization file". I assert that's Customization Specifications.
During the Build event (in lifecycle event broker), I update the custom spec attribute with the correct value.
And in the blueprint, I just save it with empty value.
virtualMachineAddOrUpdateProperties = new Properties();
Is it what you need ?
Thanks for quick reply !!
Yes we are talking about customization spec , will you please share few steps with us for same so we can understand how to do that ? - if possible
If you don't know Event Broker Life Cycle, it will be a bit hard too explain all stuff.
You first need to read the documentation like this pdf
And some tutorials like this one
In few words, you have to configure VRA Subscription event to send event at each steps of the blueprint iaas request (request, building, provisioning, etc.).
The event call a VRO workflow.
And in this workflow you can check and edit some properties like the CloneSpec property.
I am trying to use your method to set the custom spec, can you advise:
What are the settings for: "virtualMachineAddOrUpdateProperties"
- Is this in a scriptable task or an action?
- Is it a string?
- Is it an output parameter or attribute?
I have the payload being sent etc 'PRE' 'BuildingMachine'
Any other info would be greatly appreciated.
Thank you Robert ¯\_ツ_/¯
I still seem to be missing something, to make the selected customization spec be applied to the VM.
I can see the selected spec in the POST provisioning payload, with "CloneSpec Windows - DEV Domain" (the spec name) but it hasnt run it...