Hello,  I am trying to figure out how to best configure my katello/foreman 
provisioning kickstart template to configure a system with 2 NIC's.  One 
nic is configured for private communication via a non routable ip range. 
 We can assign these IPs via dhcpd which we then use for doing the 
provisioning process via a local OS repo hosted on the katello/foreman 
server.  The second NIC is publicly accessible and is assigned statically. 
 What I'm not sure how to do is pxe booting via the private interface 
(currently done by assigning via dhcpd) and configuring both NIC via static 
assignment after the provisioning process is complete.  It seems like I had 
this working but it's been a long time since I tinkered with this so my 
memory could be wrong.  I believe this line was working in the past.

network --bootproto <%= dhcp ? 'dhcp --nodefroute' : "static 
--ip=#{@host.ip} --netmask=#{subnet.mask} --gateway=#{subnet.gateway} 
--nameserver=#{[subnet.dns_primary, 
subnet.dns_secondary].select(&:present?).join(',')}" %> --hostname <%= 
@host %><%= os_major >= 6 ? " --device=#{@host.mac}" : '' -%>

I've configured the private NIC as Managed and Provision while the Public 
NIC is configured as Primary.

Are there any working solutions out there for this scenario?

-- 
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 foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to