documentation icon indicating copy to clipboard operation
documentation copied to clipboard

Autoconfig can lead to invalid netplan

Open x13-me opened this issue 1 year ago • 2 comments

Autoconfig documentation needs updating to clarify what changes it makes to the netplan, it is entirely possible to generate an invalid netplan

x13-me avatar Nov 11 '24 18:11 x13-me

if PRESET_NET_CHANGE_DEFAULTS="1" and PRESET_NET_ETHERNET_ENABLED="1", but a static IP is not provided, the netplan config generated will work at first boot, then break and prevent networking after a reboot

Documentation should be updated to reflect this

x13-me avatar Nov 11 '24 18:11 x13-me

but a static IP is not provided

Perhaps adding IF this is not provided, to display WARNING and skip auto-config due to this?

igorpecovnik avatar Nov 11 '24 18:11 igorpecovnik