I find myself in the following situation.
I added about 36 hosts yesterday to foreman using the web interface. At the
time I did not realize that foreman was not properly configured (after an
upgrade) to talk to the dhcp server.
Today I addressed the dhcp server connection issue and resolved it. Now all
new hosts that I configure in foreman are properly added to the
dhcpd.leases file.
However I have a problem in that 34 of those 36 hosts that are in foreman
are simply not being added to the dhcpd.leases file.
Clearly when you add a new host via the web interface some mechanism is
triggered that causes foreman to contact the dhcp server and to get it to
update its dhcpd.leases file that is not occurring with existing hosts.
Is it possible and if so how do I trigger foreman to add all of my existing
hosts to the dhcpd.leases file? Is it something that can be done from the
command line via hammer?
Thanks for any suggestions.
Terrence