Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Assigning license to new ESXi host

$
0
0

Hi guys,

I'm currently working on a workflow for provisioning new ESXi hosts from the scratch. Unfortunately I stuck on assigning new VMWare license to a host. I wanted to do this with a below scripting element:

 

Input:

Host (VC: HostSystem)

License (String)

 

Code:

Host.configManager.licenseManager.licenseAssignmentManager.updateAssignedLicense(Host.id, License, null);

 

Unfortunately this returns an error stating licenseManager is null.

 

Does anyone know how to define new licenseManager on the host or assign a license in some other way?

 

Thanks,

Kamil


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>