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 .