summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2020-08-06 18:57:10 -0400
committerGitHub <noreply@github.com>2020-08-06 17:57:10 -0500
commitb2bf538b8c355b1bf04657fafc717ad20779e4a4 (patch)
tree806d3e059ed4f63842b07dd86e0a56f7c8e104ef /cloudinit
parenta13febd286d21f1754e32f4a05e722039eb452b8 (diff)
downloadvyos-cloud-init-b2bf538b8c355b1bf04657fafc717ad20779e4a4.tar.gz
vyos-cloud-init-b2bf538b8c355b1bf04657fafc717ad20779e4a4.zip
Handle additional identifier for SLES For HPC (#520)
Add "sle_hpc" to list of values which are variant 'suse'.
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/util.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index b6f1117f..3c087176 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -551,7 +551,8 @@ def system_info():
elif linux_dist == 'redhat':
var = 'rhel'
elif linux_dist in (
- 'opensuse', 'opensuse-tumbleweed', 'opensuse-leap', 'sles'):
+ 'opensuse', 'opensuse-tumbleweed', 'opensuse-leap',
+ 'sles', 'sle_hpc'):
var = 'suse'
else:
var = 'linux'