summaryrefslogtreecommitdiff
path: root/cloudinit/serial.py
diff options
context:
space:
mode:
authorChris Patterson <cpatterson@microsoft.com>2021-12-10 12:16:16 -0500
committerGitHub <noreply@github.com>2021-12-10 11:16:16 -0600
commite9634266ea52bf184727fb0782d5dc35f9ed1468 (patch)
tree94f762a9c19b8fa0062aca9bf73e1e6953505989 /cloudinit/serial.py
parent24739592217e5ba91e09e8c28b852d31a2c0cc77 (diff)
downloadvyos-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 'cloudinit/serial.py')
0 files changed, 0 insertions, 0 deletions