summaryrefslogtreecommitdiff
path: root/config
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 /config
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 'config')
-rw-r--r--config/cloud.cfg8
1 files changed, 6 insertions, 2 deletions
diff --git a/config/cloud.cfg b/config/cloud.cfg
index da8c70a6..90aecb6a 100644
--- a/config/cloud.cfg
+++ b/config/cloud.cfg
@@ -3,10 +3,14 @@ user: ubuntu
disable_root: 1
preserve_hostname: False
-cloud_config_modules:
+cloud_init_modules:
- resizefs
- - mounts
+ - set_hostname
+ - update_hostname
- rsyslog
+
+cloud_config_modules:
+ - mounts
- ssh-import-id
- locale
- ssh