Good evening together,

i set up foreman with foreman-vmware to deploy windows hosts in vsphere by 
follwing this guide: 
https://www.inovex.de/blog/deploying-windows-server-with-foreman-in-vsphere/
Its very hard for me to edit the user_data file, because iam not fully 
understand der vmware Customization specs.

For example:

the user_data file is using the Network Configuration to set it static in 
Windows. How i can change static to non static ? I dont want to have static 
settings on my windows hosts.
Is it possible to change this in the user_data file? I see that the network 
adapter is configured by these settings:

nicSettingMap:
  - adapter:
      dnsDomain: <%= @host.domain %>
      dnsServerList:
        - <%= @host.subnet.dns_primary %>
      gateway:
        - <%= @host.subnet.gateway %>
      ip: <%= @host.ip %>
      subnetMask: <%= @host.subnet.mask %>
globalIPSettings:
  dnsServerList:
    - <%= @host.subnet.dns_primary %>
  dnsSuffixList:
    - <%= @host.domain %>


 but i dont know how to make it different. The Customization Specs 
Reference from VMWare is not very helpful by this.
https://pubs.vmware.com/vsphere-55/index.jsp?topic=%2Fcom.vmware.wssdk.apiref.doc%2Fvim.vm.customization.GlobalIPSettings.html


Iam thanksful for any help

best regards

:)


-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to