DHCP vs STATIC Foreman 1.7

I am running foreman 1.7 and I noticed that under

https://foreman/subnets

there is an option

Boot Mode with the options DHCP and Static

I was wondering if I set this to static if my Centos hosts would come up as
configured with a static network configuration rather than defaulting to
dhcp? If not, how would I make this change?

My preference is not to have my hosts depend on any central service,
including dhcp if at all possible.

Thanks,

We use Puppet to make this change after the host is built during the
initial Puppet run.

··· On Thu, Jan 8, 2015 at 5:47 PM, Terrence Martin wrote:

I am running foreman 1.7 and I noticed that under

https://foreman/subnets

there is an option

Boot Mode with the options DHCP and Static

I was wondering if I set this to static if my Centos hosts would come up
as configured with a static network configuration rather than defaulting to
dhcp? If not, how would I make this change?

My preference is not to have my hosts depend on any central service,
including dhcp if at all possible.

Thanks,


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

Do you use a standard recipe, or is that custom?

··· On Thursday, January 8, 2015 at 3:31:19 PM UTC-8, Josh wrote: > > We use Puppet to make this change after the host is built during the > initial Puppet run. > > On Thu, Jan 8, 2015 at 5:47 PM, Terrence Martin > wrote: > >> I am running foreman 1.7 and I noticed that under >> >> https://foreman/subnets >> >> there is an option >> >> Boot Mode with the options DHCP and Static >> >> I was wondering if I set this to static if my Centos hosts would come up >> as configured with a static network configuration rather than defaulting to >> dhcp? If not, how would I make this change? >> >> My preference is not to have my hosts depend on any central service, >> including dhcp if at all possible. >> >> Thanks, >> >> -- >> 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-user...@googlegroups.com . >> To post to this group, send email to forema...@googlegroups.com >> . >> Visit this group at http://groups.google.com/group/foreman-users. >> For more options, visit https://groups.google.com/d/optout. >> > >

Take a look at this page:
http://projects.theforeman.org/projects/foreman/wiki/KickstartStatic

If you're using one of the provided kickstart scripts you can modify as
suggested or modify your own. It never worked for me in 1.5 but after
upgrading to 1.7 its working.