Feature #17521
closed
need support for 'use_shortname_for_vms' for all hosts not just vms
Added by Partha Aji about 8 years ago.
Updated over 6 years ago.
Description
Few customers have requested support for wanting short host names and do not want domain names appended. They want to select domain names and want the resolv.conf info on their hosts filled correctly.
Issue http://projects.theforeman.org/issues/2975 handled some of this but was tagged as vm only. We need it to be generally applicable.
Related issues
1 (1 open — 0 closed)
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4068 added
The description doesn't make much sense to me - the setting changes the name of the virtual machine, not the name of the host in Foreman. Hosts on CRs still have an FQDN.
This seems like a duplicate more of #11989, creating hosts without a domain.
The "shortname for VMs" setting should not be used to change the behaviour of the "name" field within Foreman, that is not its purpose - it's meant to only affect VM names.
Dominic Cleal wrote:
The description doesn't make much sense to me - the setting changes the name of the virtual machine, not the name of the host in Foreman. Hosts on CRs still have an FQDN.
This seems like a duplicate more of #11989, creating hosts without a domain.
The "shortname for VMs" setting should not be used to change the behaviour of the "name" field within Foreman, that is not its purpose - it's meant to only affect VM names.
Added a new setting "append_domain_name_for_hosts" that will now always be set. The user can unset this and in that case the domain name will not get attached.
- Target version set to 161
- Blocks Bug #21929: need short host name matchers added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 330
Also available in: Atom
PDF