Can there only ever be a single gateway4 or gateway6 be defined in initramfs-tools?
What happens if both $gateway4 and $gateway6 are defined? I think we'd need to define two actual default routes below the "routes" stanza, e.g.: network: version: 2 ethernets: enp5s0: addresses: - "10.194.146.91/24" routes: - to: default via: "10.194.146.1" - to: default via: "2001:16b8:bda3:6900:adc8:76e7:6435:1eeb" nameservers: addresses: ["10.194.146.1"] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2093164 Title: initramfs-tools generates deprecated netplan config gateway4 and gateway6 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/2093164/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs