summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorLouis Abel <nazunalika@users.noreply.github.com>2021-05-25 06:25:41 -0700
committerGitHub <noreply@github.com>2021-05-25 08:25:41 -0500
commit7c1d27b8836c266f6db1e179b98ef32effeb750e (patch)
tree0a7f4897b000ee0c1f7a1b16c5d2b06269fd25fd /cloudinit/util.py
parentc8db603218dd56123e43857d81f5eae5f66618f1 (diff)
downloadvyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.tar.gz
vyos-cloud-init-7c1d27b8836c266f6db1e179b98ef32effeb750e.zip
Add Rocky Linux support to cloud-init (#906)
Rocky Linux is a RHEL-compatible distribution so all changes that have been made should be trivial.
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index fdea1181..2de1123e 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -522,7 +522,7 @@ def system_info():
linux_dist = info['dist'][0].lower()
if linux_dist in (
'almalinux', 'alpine', 'arch', 'centos', 'debian', 'fedora',
- 'rhel', 'suse'):
+ 'rhel', 'rocky', 'suse'):
var = linux_dist
elif linux_dist in ('ubuntu', 'linuxmint', 'mint'):
var = 'ubuntu'