Oh I see: sysconfig.py needs to do the same thing as netplan.py
sysconfig.py is missing this logic:
if 'dns_nameservers' in subnet: nameservers += _listify(subnet.get('dns_nameservers', []))
if 'dns_search' in subnet: searchdomains += _listify(subnet.get('dns_search', []))
Oh I see: sysconfig.py needs to do the same thing as netplan.py
sysconfig.py is missing this logic:
if 'dns_nameservers' in subnet:
nameservers += _listify( subnet. get('dns_ nameservers' , []))
searchdomains += _listify( subnet. get('dns_ search' , []))
if 'dns_search' in subnet:
etc etc