Note that cloud-init uses the 'variant' value to determine the distro:
tumble1:~ # python3 -c 'import pprint; from cloudinit import util; pprint.pprint(util.system_info())' {'dist': ('opensuse-tumbleweed', '20190909', 'x86_64'), 'platform': 'Linux-4.15.0-58-generic-x86_64-with-glibc2.2.5', 'python': '3.7.3', 'release': '4.15.0-58-generic', 'system': 'Linux', 'uname': uname_result(system='Linux', node='tumble1', release='4.15.0-58-generic', version='#64~16.04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019', machine='x86_64', processor='x86_64'), 'variant': 'suse'}
So, opensuse and friends are reported to cloud-init as 'suse' which is in the list for rendering.
Let's see what's actually wrong in your instance after posting the cloud-init logs.
Note that cloud-init uses the 'variant' value to determine the distro:
tumble1:~ # python3 -c 'import pprint; from cloudinit import util; pprint. pprint( util.system_ info()) ' tumbleweed' , '20190909', 'x86_64'), 4.15.0- 58-generic- x86_64- with-glibc2. 2.5', 58-generic' , system= 'Linux' , node='tumble1', release= '4.15.0- 58-generic' , version= '#64~16. 04.1-Ubuntu SMP Wed Aug 7 14:10:35 UTC 2019', machine='x86_64', processor= 'x86_64' ),
{'dist': ('opensuse-
'platform': 'Linux-
'python': '3.7.3',
'release': '4.15.0-
'system': 'Linux',
'uname': uname_result(
'variant': 'suse'}
So, opensuse and friends are reported to cloud-init as 'suse' which is in the list for rendering.
Let's see what's actually wrong in your instance after posting the cloud-init logs.