diff options
author | Andrew Lukoshko <andrew.lukoshko@gmail.com> | 2021-05-08 00:31:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-07 16:31:14 -0500 |
commit | 8cf40a73646a9448746fc4043c6410ae92172e7c (patch) | |
tree | 1f807d522ce7ebe84e295697310a63cb86651498 /config | |
parent | 13877549527812959f59e4add685bc42d350edd8 (diff) | |
download | vyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.tar.gz vyos-cloud-init-8cf40a73646a9448746fc4043c6410ae92172e7c.zip |
Add AlmaLinux OS support (#872)
AlmaLinux OS is RHEL-compatible so all the changes needed are trivial.
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl index 7171aaa5..8656daa7 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -21,7 +21,7 @@ disable_root: false disable_root: true {% endif %} -{% if variant in ["alpine", "amazon", "centos", "fedora", "rhel"] %} +{% if variant in ["almalinux", "alpine", "amazon", "centos", "fedora", "rhel"] %} mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] {% if variant == "amazon" %} resize_rootfs: noblock @@ -153,7 +153,7 @@ cloud_final_modules: # (not accessible to handlers/transforms) system_info: # This will affect which distro class gets used -{% if variant in ["alpine", "amazon", "arch", "centos", "debian", +{% if variant in ["almalinux", "alpine", "amazon", "arch", "centos", "debian", "fedora", "freebsd", "netbsd", "openbsd", "rhel", "suse", "ubuntu"] %} distro: {{ variant }} @@ -206,7 +206,7 @@ system_info: primary: http://ports.ubuntu.com/ubuntu-ports security: http://ports.ubuntu.com/ubuntu-ports ssh_svcname: ssh -{% elif variant in ["alpine", "amazon", "arch", "centos", "fedora", +{% elif variant in ["almalinux", "alpine", "amazon", "arch", "centos", "fedora", "rhel", "suse"] %} # Default user name + that default users groups (if added/used) default_user: |