That's really unfortunate (the hacking of cloud-init).
It looks like the sysconfig renderer uses:
# python3 -c 'from cloudinit import util; print(util.get_linux_distro()[0])' opensuse-tumbleweed
To select the distro name, when it really should be using util.system_info()['variant']
That's really unfortunate (the hacking of cloud-init).
It looks like the sysconfig renderer uses:
# python3 -c 'from cloudinit import util; print(util. get_linux_ distro( )[0])'
opensuse-tumbleweed
To select the distro name, when it really should be using util.system_ info()[ 'variant' ]