Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've gone through a lot of the APIs and searched to no avail. Is there a way to set or add an additional EULA to a VM? Currently I am trying the Ruby client RbVmomi talking to an ESXi 4.0 server. I am able to set other configuration options such as annotations but cannot seem to get the EULA config to stick.

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

Has anyone had any luck with setting EULAs on VMs through the vSphere API?

share|improve this question

The EULA is typically contained in the OVF section of the VM. (vm.config.vAppConfig)

share|improve this answer
Isn't that exactly what the sample code does? Setting this value either during import or after import doesn't seem to 'stick'. – dekz Apr 17 '12 at 21:16
Yup. You have to import it as an OVF, afaik. The EULA will be contained in the product section of the OVF. I believe the VM must be off to make the change, and the vApp option in the GUI must be turned on. – JakeRobinson Apr 19 '12 at 18:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.