You need to configure
In VMWARE
- the template, i assume you have it
in the template you need to have
- open-vm-tools install
- ssh host keys cleaned out
- keys and certs for puppet clean out
in foreman you need to have
- the compute resource
- the image
- the compute profile
- the subnet
- the provisioinng profile
a provisioning template must include something like this
----
identity:
LinuxPrep:
domain: <%= @host.domain %>
hostName: <%= @host.shortname %>
hwClockUTC: true
timeZone: Europe/Berlin
globalIPSettings:
dnsSuffixList:
- <%= @host.domain %>
dnsServerList:
- <%= @host.subnet.dns_primary %>
nicSettingMap:
<% @host.interfaces.each do |interface| %>
- adapter:
dnsDomain: <%= interface.domain %>
dnsServerList:
- <%= interface.subnet.dns_primary %>
ip: <%= interface.ip %>
subnetMask: <%= interface.subnet.mask %>
gateway:
- <%= interface.subnet.gateway %>
fqdn: <%= @host %>
manage_etc_hosts: true
----
then the foreman provides the IP address to VMWare and using the
open-vm-tools, the IP is injected into the machine similar to cloud-init
behaviour
We have that running with CentOS and Ubuntu - but not with Debian ( look at
my post "Debian GNU/Linux 8 missing")
Cheers
Soeren
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.