hello
i want to discovere hosts with "manage" and "work" interfaces, "work"
interface should be static defined and bonded.
"managed" will use dhcp and accessible for discovery
i imagine this logic:
"managed" send dhcp request, receive ip and boot discovery image
host will reigstred in foreman
after registration will triggered hook and assign to second-"work"
interface free ip address. ipam will register it as busy and avoid
collisions
reboot system for install by kickstartfile with tample and "work
interface " will statically configured
> 1. "managed" send dhcp request, receive ip and boot discovery image
> 2. host will reigstred in foreman
THats ok, we call "manage" interface "Provisioning interfaces".
> 3. after registration will triggered hook and assign to second-"work"
> interface free ip address. ipam will register it as busy and avoid
> collisions
What kind of hook you think about? Foreman hook? That should work yeah.
> 4. reboot system for install by kickstartfile with tample and "work
> interface " will statically configured
That should work yes.
We would like to add "scripting" capability into autoprovisioning so
you can do your own network configuration logic as a "ruby script" (ERB
actually). We are not there yet.