Project

General

Profile

« Previous | Next » 

Revision 8d10c655

Added by Greg Sutcliffe almost 11 years ago

  • ID 8d10c655228f67447dba1aa62f1cd2bb933ce4e0

Fixes #2576 - Add optional update of Host.ip from built request

View differences:

app/models/setting/provisioning.rb
self.set('query_local_nameservers', N_("Should Foreman query the locally configured name server or the SOA/NS authorities"), false),
self.set('remote_addr', N_("If Foreman is running behind Passenger or a remote load balancer, the IP should be set here. This is a regular expression, so it can support several load balancers, i.e: (10.0.0.1|127.0.0.1)"), "127.0.0.1"),
self.set('token_duration', N_("Time in minutes installation tokens should be valid for, 0 to disable"), 0),
self.set('libvirt_default_console_address', N_("The IP address that should be used for the console listen address when provisioning new virtual machines via Libvirt"), "0.0.0.0")
self.set('libvirt_default_console_address', N_("The IP address that should be used for the console listen address when provisioning new virtual machines via Libvirt"), "0.0.0.0"),
self.set('update_ip_from_built_request', N_("Should we use the originating IP of the built request to update the host's IP?"), false)
].each { |s| self.create! s.update(:category => "Setting::Provisioning")}
end

Also available in: Unified diff