Project

General

Profile

Actions

Feature #17521

closed

need support for 'use_shortname_for_vms' for all hosts not just vms

Added by Partha Aji over 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host creation
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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 open0 closed)

Blocks Foreman - Bug #21929: need short host name matchersNewActions
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4068 added
Actions #2

Updated by Dominic Cleal over 7 years ago

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.

Actions #3

Updated by Partha Aji over 7 years ago

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.

Actions #4

Updated by Thomas McKay about 7 years ago

  • Target version set to 161
Actions #5

Updated by Partha Aji over 6 years ago

  • Blocks Bug #21929: need short host name matchers added
Actions #6

Updated by Partha Aji over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #7

Updated by Marek Hulán over 6 years ago

  • translation missing: en.field_release set to 330
Actions

Also available in: Atom PDF