From 7e2e87f2de893835900eb5a96458a865f36c624c Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 21 Jan 2011 21:49:55 -0500 Subject: 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 --- doc/examples/cloud-config.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3