Recreating dhcpd leases

Hello,

I'v changed the IP of my TFTP server in foreman-proxy/settings-yaml.

However, in the dhcpd.leases file the next server is still set to the old
IP. How can I make foreman-proxy recreate the dhcpd leases so that the
reflect the new tftp server?

Krist

> Hello,
>
> I'v changed the IP of my TFTP server in foreman-proxy/settings-yaml.
>
> However, in the dhcpd.leases file the next server is still set to the old
> IP. How can I make foreman-proxy recreate the dhcpd leases so that the
> reflect the new tftp server?
>
>
Have a look at [1], you can easily loop though them all and delete/create
etc

Ohad

[1]

Krist

··· On Mon, Nov 4, 2013 at 2:32 PM, Krist van Besien wrote: > > -- > 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/groups/opt_out. >

Krist

··· On Monday, November 4, 2013 1:44:19 PM UTC+1, ohad wrote: > > Have a look at [1], you can easily loop though them all and delete/create > etc > > Ohad > > [1] > http://blog.theforeman.org/2012/01/recovering-lost-dhcp-reservations.html > > > Thanks, that worked.

I used to know how to make feature requests in Foreman but it looks like
that (bug) page has moved. It would be really nice if a "Sync DHCP leases'
option could be added under 'Refresh features' for the Smart Proxies drop
down that does this.

··· On Monday, November 4, 2013 at 7:44:19 AM UTC-5, ohad wrote: > > > > > On Mon, Nov 4, 2013 at 2:32 PM, Krist van Besien > wrote: > >> Hello, >> >> I'v changed the IP of my TFTP server in foreman-proxy/settings-yaml. >> >> However, in the dhcpd.leases file the next server is still set to the old >> IP. How can I make foreman-proxy recreate the dhcpd leases so that the >> reflect the new tftp server? >> >> > Have a look at [1], you can easily loop though them all and delete/create > etc > > Ohad > > [1] > http://blog.theforeman.org/2012/01/recovering-lost-dhcp-reservations.html > > Krist >> >> -- >> 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/groups/opt_out. >> > >

> I used to know how to make feature requests in Foreman but it looks like
> that (bug) page has moved. It would be really nice if a "Sync DHCP leases'
> option could be added under 'Refresh features' for the Smart Proxies drop
> down that does this.

I saw you found it, but for the record the issue in Redmine is:
http://projects.theforeman.org/issues/10214

··· On 04/20, Edson Manners wrote: > > On Monday, November 4, 2013 at 7:44:19 AM UTC-5, ohad wrote: > > > > > > > > > > On Mon, Nov 4, 2013 at 2:32 PM, Krist van Besien > > wrote: > > > >> Hello, > >> > >> I'v changed the IP of my TFTP server in foreman-proxy/settings-yaml. > >> > >> However, in the dhcpd.leases file the next server is still set to the old > >> IP. How can I make foreman-proxy recreate the dhcpd leases so that the > >> reflect the new tftp server? > >> > >> > > Have a look at [1], you can easily loop though them all and delete/create > > etc > > > > Ohad > > > > [1] > > http://blog.theforeman.org/2012/01/recovering-lost-dhcp-reservations.html > > > > Krist > >> > >> -- > >> 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/groups/opt_out. > >> > > > > > > -- > 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.


Daniel Lobato Garcia

@eLobatoss
blog.daniellobato.me
daniellobato.me

GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato