summaryrefslogtreecommitdiff
path: root/tests/unittests/test_datasource
diff options
context:
space:
mode:
authordermotbradley <dermot_bradley@yahoo.com>2021-10-26 23:08:53 +0100
committerGitHub <noreply@github.com>2021-10-26 17:08:53 -0500
commit75b26b0afbb14cf613fe3b08c8bed050dec0b874 (patch)
tree9a40080364f5a16f3227f48001336eb1821829c3 /tests/unittests/test_datasource
parent994339ae3cc0fc2008f498d70cfe12b29be5ed55 (diff)
downloadvyos-cloud-init-75b26b0afbb14cf613fe3b08c8bed050dec0b874.tar.gz
vyos-cloud-init-75b26b0afbb14cf613fe3b08c8bed050dec0b874.zip
hosts.alpine.tmpl: rearrange the order of short and long hostnames (#1084)
The Alpine /etc/hosts template results in a file where the long form of names (including localhost) come before the short form. This means that when running tools like 'netstat' and 'ss' which convert IP address to names that their output will show 'localhost.localdomain' rather than 'localhost.' This patch swaps the order of the short and long form names so such utils will show the short form name. It also removes several unnecessary IPv6-specific entries.
Diffstat (limited to 'tests/unittests/test_datasource')
0 files changed, 0 insertions, 0 deletions