Customize Windows VM provisioning in RHEV


#1

How can I customize Windows VM provisioning(set ip address) in RHEV?


#2

Hi,

Did you find your answer for this?


#3

That should be independent of any provider. You should be able to set the appropriate options in the MIQ Provision StateMachine

      miq_provision.set_option(:ip_addr, allocated_ip_address)
      miq_provision.set_option(:gateway, gateway)
      miq_provision.set_option(:subnet_mask, subnet_mask)
      miq_provision.set_option(:dns_servers, dns_servers)

More Information in this Book: https://pemcg.gitbooks.io/mastering-automation-in-cloudforms-4-2-and-manage/content/vm_provision_state_machine/chapter.html