rlane / rbvmomi

Ruby interface to the VMware vSphere API. vmware/rbvmomi is the official repo.
MIT License
178 stars 0 forks source link

VMConfigSpec and EULAs #20

Open dekz opened 12 years ago

dekz commented 12 years ago

Hi Rick,

Just wondering if you have been successful in setting EULAs on VMs by performing the ReconfigVM_Task? Here is what I am currently trying but to no avail:

vm.ReconfigVM_Task(
    :spec => VIM.VirtualMachineConfigSpec(
        :annotation => 'test',
        :vAppConfig => VIM.VmConfigSpec( 
            :eula => ['test2']
        )
     )
).wait_for_completion
cdickmann commented 12 years ago

Thats really an API question, not an rbvmomi issue. You may have more luck asking in the VMware community forums.