Editorial question96.8K views559 votes0 answers1,343 following
AI-generatedNetplan replaces /etc/network/interfaces in Ubuntu 22.04: handling leftover entries and custom ifupdown scripts after upgrade
Netplan migration on Ubuntu 22.04 LTS After upgrading a server from Ubuntu 20.04 to 22.04 LTS, the documented default network configuration path is Netplan YAML under /etc/netplan/ rather than /etc/network/interfaces . The goal is to complete this transition cleanly on a host that has both legacy ifupdown entries and a few custom ifupdown hook scripts, witho