diff options
author | Kim <kim.sidney@gmail.com> | 2021-02-01 17:11:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 17:11:14 +0100 |
commit | aea1a58f8ad0c76b170cc7042be623c8cf4c773e (patch) | |
tree | c7cca39f3f59cc1c3f4066c4e02bd4dbdd4981ff /config | |
parent | decb5d2d3a3adf27db301f69dc7909fbb8bad561 (diff) | |
parent | 8129a37a936de781467c4d053f5ad6b1bcf585ba (diff) | |
download | vyos-cloud-init-aea1a58f8ad0c76b170cc7042be623c8cf4c773e.tar.gz vyos-cloud-init-aea1a58f8ad0c76b170cc7042be623c8cf4c773e.zip |
Merge pull request #29 from zdc/T3270-crux
T3270: Backported all changes from the equuleus branch
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.tmpl | 46 |
1 files changed, 27 insertions, 19 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 0847ab3d..be06edfc 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -1,36 +1,44 @@ -## template:jinja -# The top level settings are used as module -# and system configuration. +# This will cause the set+update hostname module to not operate (if true) +preserve_hostname: true +# Do not change SSH password-based authentication settings +ssh_pwauth: unchanged + +# Configuring Azure datasource 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: - - vyos + - vyos + - write_files + - vyos_userdata # The modules that run in the 'final' stage cloud_final_modules: - - runcmd +# Users, necessary for Cloud-init 18.4 +users: + - default # System and/or distro specific settings # (not accessible to handlers/transforms) system_info: - # This will affect which distro class gets used - distro: debian - # Default user name + that default users groups (if added/used) - default_user: - name: vyos - # Other config here will be given to the distro class and/or path classes - paths: - cloud_dir: /opt/vyatta/etc/config/cloud/ - templates_dir: /etc/cloud/templates/ - upstart_dir: /etc/init/ + # This will affect which distro class gets used + distro: debian + # Default user name + that default users groups (if added/used) + default_user: + name: vyos + # Other config here will be given to the distro class and/or path classes + paths: + cloud_dir: /opt/vyatta/etc/config/cloud/ + templates_dir: /etc/cloud/templates/ + upstart_dir: /etc/init/ + |