summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/cloud.cfg.d/README4
-rw-r--r--config/cloud.cfg.tmpl23
2 files changed, 21 insertions, 6 deletions
diff --git a/config/cloud.cfg.d/README b/config/cloud.cfg.d/README
index 60702e9d..036b80bf 100644
--- a/config/cloud.cfg.d/README
+++ b/config/cloud.cfg.d/README
@@ -1,3 +1,3 @@
-# All files in this directory will be read by cloud-init
-# They are read in lexical order. Later files overwrite values in
+# All files with the '.cfg' extension in this directory will be read by
+# cloud-init. They are read in lexical order. Later files overwrite values in
# earlier files.
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index 0847ab3d..8f98cb96 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -2,15 +2,30 @@
# The top level settings are used as module
# and system configuration.
+# A set of users which may be applied and/or used by various modules
+# when a 'default' entry is found it will reference the 'default_user'
+# from the distro configuration specified below
+users:
+ - default
+
+# This will cause the set+update hostname module to not operate (if true)
+preserve_hostname: true
+
+# Example datasource config
+# datasource:
+# Ec2:
+# metadata_urls: [ 'blah.com' ]
+# timeout: 5 # (defaults to 50 seconds)
+# max_wait: 10 # (defaults to 120 seconds)
datasource:
Azure:
agent_command: [/usr/bin/python3, -u, /usr/sbin/waagent, -start]
-# This will cause the set+update hostname module to not operate (if true)
-preserve_hostname: true
+# disable customization for VMware
+disable_vmware_customization: true
-users:
- - default
+# The modules that run in the 'init' stage
+cloud_init_modules:
# The modules that run in the 'config' stage
cloud_config_modules: