diff options
author | zhuzaifangxuele <52022596+zhuzaifangxuele@users.noreply.github.com> | 2021-09-14 02:21:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 13:21:28 -0500 |
commit | f4c47e3e25d1fb79e2673e37f8fc67750d025be2 (patch) | |
tree | d3fd670589ff11d203afd2973f926cc0bff44120 /config | |
parent | 2ce857248162957a785af61c135ca8433fdbbcde (diff) | |
download | vyos-cloud-init-f4c47e3e25d1fb79e2673e37f8fc67750d025be2.tar.gz vyos-cloud-init-f4c47e3e25d1fb79e2673e37f8fc67750d025be2.zip |
Support openEuler OS (#1012)
openEuler Homepage: https://www.openeuler.org/en/
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 e5fbc10b..de1d75e5 100644 --- a/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl @@ -33,7 +33,7 @@ disable_root: true {% endif %} {% if variant in ["almalinux", "alpine", "amazon", "centos", "cloudlinux", "eurolinux", - "fedora", "rhel", "rocky", "virtuozzo"] %} + "fedora", "openEuler", "rhel", "rocky", "virtuozzo"] %} mount_default_fields: [~, ~, 'auto', 'defaults,nofail', '0', '2'] {% if variant == "amazon" %} resize_rootfs: noblock @@ -174,7 +174,7 @@ cloud_final_modules: system_info: # This will affect which distro class gets used {% if variant in ["almalinux", "alpine", "amazon", "arch", "centos", "cloudlinux", "debian", - "eurolinux", "fedora", "freebsd", "netbsd", "openbsd", + "eurolinux", "fedora", "freebsd", "netbsd", "openbsd", "openEuler", "photon", "rhel", "rocky", "suse", "ubuntu", "virtuozzo"] %} distro: {{ variant }} {% elif variant in ["dragonfly"] %} @@ -229,7 +229,7 @@ system_info: security: http://ports.ubuntu.com/ubuntu-ports ssh_svcname: ssh {% elif variant in ["almalinux", "alpine", "amazon", "arch", "centos", "cloudlinux", "eurolinux", - "fedora", "rhel", "rocky", "suse", "virtuozzo"] %} + "fedora", "openEuler", "rhel", "rocky", "suse", "virtuozzo"] %} # Default user name + that default users groups (if added/used) default_user: {% if variant == "amazon" %} |