Comment 2 for bug 1721798

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

It looks like in the static.c case, we call

683 netcfg_write_interface(client, iface);
684 netcfg_write_resolvconf_options(domain, iface);
685 netcfg_write_resolv(domain, iface);

This results in dns-* strings written into e-n-i, instead of writing keys in netplan.
imho domain should be passed to write_interface, and the later two functions should be no-op in netplan case.