summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorLars Kellogg-Stedman <lars@redhat.com>2016-12-06 21:13:24 -0500
committerScott Moser <smoser@brickies.net>2016-12-19 14:29:37 -0500
commitc01129492f046fdf745b432b6035605c9c613655 (patch)
tree5d7faa31701c6eaf83ea1f783424b80eee951013 /tox.ini
parent39fb5a0240597112af8162c6c3365288450a7a77 (diff)
downloadvyos-cloud-init-c01129492f046fdf745b432b6035605c9c613655.tar.gz
vyos-cloud-init-c01129492f046fdf745b432b6035605c9c613655.zip
set_hostname: avoid erroneously appending domain to fqdn
In some situations, cloud-init will erroneously append a default domain to an already fully qualified hostname, resulting in something like 'localhost.localdomain.localdomain'. This patch checks to see if the value returned by util.get_hostname() contains a '.', and if it does treats it as a fully qualified name. Resolves: rhbz#1389048 LP: #1647910
Diffstat (limited to 'tox.ini')
0 files changed, 0 insertions, 0 deletions