summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-01-21 21:49:55 -0500
committerScott Moser <smoser@ubuntu.com>2011-01-21 21:49:55 -0500
commit7e2e87f2de893835900eb5a96458a865f36c624c (patch)
tree9f4e168b418b18eb4df0bedaaad5ed57bc09cbd3 /doc
parent154722cc740299c6c9d1b3bc9d1e96088f9259eb (diff)
downloadvyos-cloud-init-7e2e87f2de893835900eb5a96458a865f36c624c.tar.gz
vyos-cloud-init-7e2e87f2de893835900eb5a96458a865f36c624c.zip
add function to cloud-init to run cloud-config style modules
add 'hostname' cloud-config option for setting hostname make rsyslog and resizefs run at cloud-init time
Diffstat (limited to 'doc')
-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