summaryrefslogtreecommitdiff
path: root/config/cloud.cfg.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'config/cloud.cfg.tmpl')
-rw-r--r--config/cloud.cfg.tmpl12
1 files changed, 2 insertions, 10 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index d6dbb833..cb2a625b 100644
--- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl
@@ -44,20 +44,12 @@ ssh_pwauth: 0
# This will cause the set+update hostname module to not operate (if true)
preserve_hostname: false
+# If you use datasource_list array, keep array items in a single line.
+# If you use multi line array, ds-identify script won't read array items.
{% if variant.endswith("bsd") %}
# This should not be required, but leave it in place until the real cause of
# not finding -any- datasources is resolved.
datasource_list: ['NoCloud', 'ConfigDrive', 'Azure', 'OpenStack', 'Ec2']
-{% elif variant in ["photon"] %}
-# Datasources to check for cloud-config
-datasource_list: [
- NoCloud,
- ConfigDrive,
- OVF,
- OpenStack,
- VMwareGuestInfo,
- None
- ]
{% endif %}
# Example datasource config
# datasource: