diff options
author | Chris Patterson <cpatterson@microsoft.com> | 2021-12-10 12:16:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-10 11:16:16 -0600 |
commit | e9634266ea52bf184727fb0782d5dc35f9ed1468 (patch) | |
tree | 94f762a9c19b8fa0062aca9bf73e1e6953505989 /udev | |
parent | 24739592217e5ba91e09e8c28b852d31a2c0cc77 (diff) | |
download | vyos-cloud-init-e9634266ea52bf184727fb0782d5dc35f9ed1468.tar.gz vyos-cloud-init-e9634266ea52bf184727fb0782d5dc35f9ed1468.zip |
sources/azure: remove unnecessary hostname bounce (#1143)
Thanks to [1], the hostname is set prior to network bring-up.
The Azure data source has been bouncing the hostname during
setup(), occurring after the hostname has already been
properly configured.
Note that this doesn't prevent leaking the image's hostname
during Azure's _get_data() when it brings up ephemeral DHCP.
However, as are not guaranteed to have the hostname metadata
available from a truly "local" source, this behavior is to
be expected unless we disable `send host-name` from dhclient
config.
[1]: https://github.com/canonical/cloud-init/commit/133ad2cb327ad17b7b81319fac8f9f14577c04df
Signed-off-by: Chris Patterson <cpatterson@microsoft.com>
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions