Hello all,
We are looking for an idea /solution to add existing Vmware TAGs during creation of a new VM, our team exploitation create new VMs from the vCenter GUI --> "New VM from this template".
We search a simple solution, and not necessarily upset all our processes for that.
We know there is probably a way to run a script in from our "VM customization specifications", as i am not an expert with powercli or other, this is the reason why i am asking the communities.
Thank a lot for your replies
Best regards
Since the OS Customization is about the Guest OS running on a VM, there is not really an easy option to add Tags, which is done on the vSphere level, to a VM.
Since you are apparently using the Web GUI to create/clone VMs, the best option would be to add the Tag as part of the creation process.
An alternative is to run a script at regular intervals, find newly created VMs, and then add the required Tag(s).
When you are using SW like Aria, this tagging can be part of the provisioning process.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hello LucD,
Thx four your reply, indeed your suggestion for a regular script is a good idea, we will go this way.
Best regards
