summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_set_hostname.py
diff options
context:
space:
mode:
authorToshi Aoyama <taoyama@users.noreply.github.com>2021-02-24 01:09:23 +0900
committerGitHub <noreply@github.com>2021-02-23 11:09:23 -0500
commit695c4f8f46585dd7feac2fdc0729f410c539d3bc (patch)
tree98d9aacf19334e1c68318792ba92f383cc996546 /cloudinit/config/cc_set_hostname.py
parentd873b9dcf30cdc619655dc7ea37c264ca7ba1845 (diff)
downloadvyos-cloud-init-695c4f8f46585dd7feac2fdc0729f410c539d3bc.tar.gz
vyos-cloud-init-695c4f8f46585dd7feac2fdc0729f410c539d3bc.zip
Update cc_set_hostname documentation (#818)
It is distro dependent whether hostname or fqdn is used
Diffstat (limited to 'cloudinit/config/cc_set_hostname.py')
-rw-r--r--cloudinit/config/cc_set_hostname.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/config/cc_set_hostname.py b/cloudinit/config/cc_set_hostname.py
index 1d23d80d..d4017478 100644
--- a/cloudinit/config/cc_set_hostname.py
+++ b/cloudinit/config/cc_set_hostname.py
@@ -18,8 +18,8 @@ A hostname and fqdn can be provided by specifying a full domain name under the
``fqdn`` key. Alternatively, a hostname can be specified using the ``hostname``
key, and the fqdn of the cloud wil be used. If a fqdn specified with the
``hostname`` key, it will be handled properly, although it is better to use
-the ``fqdn`` config key. If both ``fqdn`` and ``hostname`` are set, ``fqdn``
-will be used.
+the ``fqdn`` config key. If both ``fqdn`` and ``hostname`` are set,
+it is distro dependent whether ``hostname`` or ``fqdn`` is used.
This module will run in the init-local stage before networking is configured
if the hostname is set by metadata or user data on the local system.