diff options
author | sshedi <53473811+sshedi@users.noreply.github.com> | 2021-06-29 00:12:34 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-28 13:42:34 -0500 |
commit | b5aecbe9512fa546255cc93b178b4081342fc247 (patch) | |
tree | e7300b313984dfdde9799294d8f2a02f276e19c0 /config | |
parent | 35aa9db6f8e2ba05d366776c0e8d97f52217e930 (diff) | |
download | vyos-cloud-init-b5aecbe9512fa546255cc93b178b4081342fc247.tar.gz vyos-cloud-init-b5aecbe9512fa546255cc93b178b4081342fc247.zip |
Removed distro specific network code from Photon (#929)
Minor fixes in networkd renderer & fixed corresponding tests
Removed datasource_list for Photon from cloud.cfg.tmpl & added a comment
in cloud.cfg.tmpl about not to use multiline array for datasource_list.
Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.tmpl | 12 |
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: |