Project

General

Profile

« Previous | Next » 

Revision 73f9b501

Added by Anthony Somerset over 1 year ago

fixes #35578: Netplan fixes for different static cases

fixes #35578 - preseed_netplan_generic_interface - proper IPv6

If running a dual stack setup this fixes the netplan generation

1) gateway6 not gateway4 for the gateway (we should be moving to routes defined as the gatewayN is deprecated
2) if you do seperate addresses and nameservers blocks the LAST takes precedence so you end up having no ipv4 connectivity to complete builds etc

formatting looks screwy but its what stopped giving extra line breaks in the middle of the nameservers lines - there is probably a better way to do this...

fixes #35578 - review fixes and logic tidy v6only

Now works reliably in the V6 only or v4 only state reliably

Refs #35578: set gateway v4 only if static and present

fix single stack dns

Co-Authored-By: Ewoud Kohl van Wijngaarden <>

  • added
  • modified
  • copied
  • renamed
  • deleted