Vmware templates

Hi All,

I start testing foreman to provision Linux vmware template with user-data template .

Actually i can deploy centos7 template with customization specs (IP,DNS,GETWAY,DNS), but i encounter issue wih debian9 or debian10 template.

I use VCcenter 6.7 and foreman 1.20.3 .

The provisionning Template :

<%#
kind: user_data
name: UserData open-vm-tools
model: ProvisioningTemplate
oses:
- CentOS
- Fedora
- Debian
- Ubuntu
-%>
# Template for VMWare customization via open-vm-tools

identity:
  LinuxPrep:
    domain: <%= @host.domain %>
    hostName: <%= @host.shortname %>
    

globalIPSettings:
  dnsSuffixList: [<%= @host.domain %>]
  <%- @host.interfaces.each do |interface| -%>
  <%- next unless interface.subnet -%>
  dnsServerList: [<%= interface.subnet.dns_primary %>, <%= interface.subnet.dns_secondary %>]
  <%- end -%>

nicSettingMap:
<%- @host.interfaces.each do |interface| -%>
<%- next unless interface.subnet -%>
  - adapter:
      dnsDomain: <%= interface.domain %>
      dnsServerList: [<%= interface.subnet.dns_primary %>, <%= interface.subnet.dns_secondary %>]
      gateway: [<%= interface.subnet.gateway %>]
      ip: <%= interface.ip %>
      subnetMask: <%= interface.subnet.mask %>

<%- end -%>

Can someone help me to know why i can’t deploy debian template in vcenter without customization

Thanks in advance .

Hi all. I’m facing the same issue but with Ubuntu 20.04. CentOS7/8 works perfectly with the same config as with Ubuntu.

I really hope that the collective wisdom of this forum can assist in this problem.

Thanks in advance.