diff options
author | mail_redacted_for_web | 2017-12-15 12:52:14 -0600 |
---|---|---|
committer | mail_redacted_for_web | 2017-12-15 12:52:14 -0600 |
commit | e5189b5515ea376a7e9763d3ad70e66cf116f24c (patch) | |
tree | 7bee330cf13bbcbdcfcb135d23fec3e345b03e5a /LICENSE | |
parent | 09df4b4961da424319d5208740aebbc9009eaa7b (diff) | |
download | control-repo-template-e5189b5515ea376a7e9763d3ad70e66cf116f24c.tar.bz2 |
Show the short hostname, not the FQDN in config_version
This is mainly a style and readability change.
Prior to this, on masters whose hostname is actually their FQDN, the
config_version script would show the entire FQDN. On nodes with really
longs FQDN's, it was not very nice to look at.
This takes the hostname of the master, splits it on dots (.) and takes
the first segment.
Now this: compile-master-02.int.lab.dmz.company-name.net-production-48fd18ab
Is this: compile-master-02-production-48fd18ab
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions