Feature #1970

Override the foreman_url hostname

Added by Dominic Cleal almost 5 years ago. Updated 6 months ago.

Status:New
Priority:Normal
Assigned To:-
Category:Templates
Target version:Team Marek backlog
Difficulty: Bugzilla link:1307107
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

URLs in provisioning templates (PXE menus etc) currently use the setting foreman_url as a base. It should be possible to override this for systems in complex networks that may not have a consistent view of Foreman's hostname.

Possibly:
  • a parameter on the host or domain that overrides the hostname
  • an attribute on the subnet

Related to #1969 (overrides of puppetmaster hostname).


Related issues

Related to Foreman - Feature #1969: Override hostname of puppetmaster instead of using proxy ... New 11/22/2012
Related to Smart Proxy - Feature #969: Direct Client->Foreman communication shouldn't be needed ... Closed 06/09/2011
Related to Foreman - Feature #1952: With DHCP integration, add an option to configure PXE Fil... New 11/15/2012
Duplicated by Foreman - Feature #13683: [RFE] unattended_url needs to be a per-subnet setting Duplicate 02/12/2016

History

#1 Updated by Dominic Cleal almost 5 years ago

My use-case for this is a dual-homed Foreman install with different DNS domains on either side and currently no ability to resolve Foreman's hostname with views.

#2 Updated by Ohad Levy almost 5 years ago

there is a foreman_url setting directive, that might work (but globally).

isn't a better solution would be to use dns aliases?

#3 Updated by Greg Sutcliffe almost 5 years ago

That works for most setups, but what about where you have no access to the DNS? Or where DNS is almost non-existant (think libvirt + dnsmasq) ?

#4 Updated by Ewoud Kohl van Wijngaarden about 4 years ago

I think this could be solved by the template proxy feature (#969).

#5 Updated by Ewoud Kohl van Wijngaarden about 4 years ago

Argh, that was already in the list of related features. I should read more.

#6 Updated by Dominic Cleal over 1 year ago

  • Duplicated by Feature #13683: [RFE] unattended_url needs to be a per-subnet setting added

#7 Updated by Duncan Innes over 1 year ago

We are highly interested in a fix here. We have pretty complex network structure where some areas are completely firewalled off from central Foreman (Satellite6 in our case) server, but have access to local Capsule. Some areas also lack DNS completely, so we need to be able to provide IP Addresses for the installation up to the point where we can run a %pre script in kickstart to add some hard coded /etc/hosts entries.

#8 Updated by Bryan Kearney over 1 year ago

  • Bugzilla link set to 1307107

#9 Updated by Duncan Innes 10 months ago

Is there any way the linked Bugzilla can be opened up a bit? Or some anonymised details copied in here so that progress can be viewed? I have no access to the view the Bugzilla.

#10 Updated by Tomáš Strachota 6 months ago

  • Description updated (diff)
  • Target version set to Team Marek backlog

Also available in: Atom PDF