diff options
author | dermotbradley <dermot_bradley@yahoo.com> | 2021-10-26 23:08:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 17:08:53 -0500 |
commit | 75b26b0afbb14cf613fe3b08c8bed050dec0b874 (patch) | |
tree | 9a40080364f5a16f3227f48001336eb1821829c3 /tests/integration_tests/modules/test_hotplug.py | |
parent | 994339ae3cc0fc2008f498d70cfe12b29be5ed55 (diff) | |
download | vyos-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/integration_tests/modules/test_hotplug.py')
0 files changed, 0 insertions, 0 deletions