Skip to content

ENT-11265: Added inventory tag Short hostname to sys.uqhost - #6370

Merged
olehermanse merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-11265
Sep 25, 2026
Merged

olehermanse merged 1 commit into
cfengine:masterfrom
aleksandrychev:ENT-11265

Conversation

@aleksandrychev

Copy link
Copy Markdown
Contributor

In some cases it is useful to have the unqualified host name available in inventory data so it can be used in filters.

ChangeLog: Title
Ticket: ENT-11265

@aleksandrychev

Copy link
Copy Markdown
Contributor Author

@nickanderson @olehermanse does “Short host name” sound okay to you? If yes, please merge.

@olehermanse

Copy link
Copy Markdown
Member

Ugh, as far as I can tell it should be "hostname" without space, however the other one there 2 lines below is already incorrect in this way.

Hard to find any "official" names - I see mentions of "local hostname", "non-absolute hostname", or simply "hostname" (but that can be ambiguous).

https://en.wikipedia.org/wiki/Hostname
https://www.rfc-editor.org/info/rfc1178/

I suppose "Short hostname" seems relatively clear and correct.

Comment thread libenv/sysinfo.c Outdated
In some cases it is useful to have the unqualified host name available in inventory data so it can be used in filters.

ChangeLog: Title
Ticket: ENT-11265
Signed-off-by: Ihor Aleksandrychiev <ihor.aleksandrychiev@northern.tech>
@aleksandrychev aleksandrychev changed the title ENT-11265: Added inventory tag Short host name to sys.uqhost ENT-11265: Added inventory tag Short hostname to sys.uqhost Sep 25, 2026
@olehermanse
olehermanse merged commit a130c96 into cfengine:master Sep 25, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants