summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorzhuzaifangxuele <52022596+zhuzaifangxuele@users.noreply.github.com>2021-09-14 02:21:28 +0800
committerGitHub <noreply@github.com>2021-09-13 13:21:28 -0500
commitf4c47e3e25d1fb79e2673e37f8fc67750d025be2 (patch)
treed3fd670589ff11d203afd2973f926cc0bff44120 /cloudinit/util.py
parent2ce857248162957a785af61c135ca8433fdbbcde (diff)
downloadvyos-cloud-init-f4c47e3e25d1fb79e2673e37f8fc67750d025be2.tar.gz
vyos-cloud-init-f4c47e3e25d1fb79e2673e37f8fc67750d025be2.zip
Support openEuler OS (#1012)
openEuler Homepage: https://www.openeuler.org/en/
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 894245bf..9662b30b 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -549,8 +549,8 @@ def system_info():
linux_dist = info['dist'][0].lower()
if linux_dist in (
'almalinux', 'alpine', 'arch', 'centos', 'cloudlinux',
- 'debian', 'eurolinux', 'fedora', 'photon', 'rhel', 'rocky',
- 'suse', 'virtuozzo'):
+ 'debian', 'eurolinux', 'fedora', 'openEuler', 'photon',
+ 'rhel', 'rocky', 'suse', 'virtuozzo'):
var = linux_dist
elif linux_dist in ('ubuntu', 'linuxmint', 'mint'):
var = 'ubuntu'