summaryrefslogtreecommitdiff
path: root/cloudinit/util.py
diff options
context:
space:
mode:
authorRobert Schweikert <rjschwei@suse.com>2017-09-21 07:38:48 -0400
committerScott Moser <smoser@brickies.net>2017-09-21 14:15:50 -0400
commit0451a9f60960da56e3af4f97bbcece3d98482f86 (patch)
tree6028fe4d5ba2cde48545bfc8a2a6142785ace7b6 /cloudinit/util.py
parent243ec59fb62a8710430f9ba1e2490ee964c1abc0 (diff)
downloadvyos-cloud-init-0451a9f60960da56e3af4f97bbcece3d98482f86.tar.gz
vyos-cloud-init-0451a9f60960da56e3af4f97bbcece3d98482f86.zip
suse: updates to templates to support openSUSE and SLES.
Things done here: - identify 'suse' as a variant in util.system_info and also tools/render-cloudcfg. - update systemd and cloud.cfg templates for suse specific changes. LP: #1718640
Diffstat (limited to 'cloudinit/util.py')
-rw-r--r--cloudinit/util.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/util.py b/cloudinit/util.py
index 4c01f449..e1290aa8 100644
--- a/cloudinit/util.py
+++ b/cloudinit/util.py
@@ -598,6 +598,8 @@ def system_info():
var = 'ubuntu'
elif linux_dist == 'redhat':
var = 'rhel'
+ elif linux_dist == 'suse':
+ var = 'suse'
else:
var = 'linux'
elif system in ('windows', 'darwin', "freebsd"):