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 /doc/examples/cloud-config-datasources.txt | |
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 'doc/examples/cloud-config-datasources.txt')
-rw-r--r-- | doc/examples/cloud-config-datasources.txt | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/doc/examples/cloud-config-datasources.txt b/doc/examples/cloud-config-datasources.txt index d1a4d79e..7a8c4284 100644 --- a/doc/examples/cloud-config-datasources.txt +++ b/doc/examples/cloud-config-datasources.txt @@ -45,12 +45,6 @@ datasource: instance-id: i-87018aed local-hostname: myhost.internal - Azure: - set_hostname: True - hostname_bounce: - interface: eth0 - policy: on # [can be 'on', 'off' or 'force'] - SmartOS: # For KVM guests: # Smart OS datasource works over a serial console interacting with |