summaryrefslogtreecommitdiff
path: root/doc/examples/cloud-config.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/cloud-config.txt')
-rw-r--r--doc/examples/cloud-config.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/examples/cloud-config.txt b/doc/examples/cloud-config.txt
index 0737aea7..41ff7924 100644
--- a/doc/examples/cloud-config.txt
+++ b/doc/examples/cloud-config.txt
@@ -281,3 +281,8 @@ rsyslog:
# and have the instance automatically grow / to accomoddate it
# set to 'False' to disable
resize_rootfs: True
+
+# if hostname is set, cloud-init will set the system hostname
+# appropriately to its value
+# if not set, it will set hostname from the cloud metadata
+# default: None