Last active
March 25, 2025 10:15
-
-
Save mss/7a8e048dd51e5ef928039f1450ba8f31 to your computer and use it in GitHub Desktop.
Migrate from ifupdown to netplan
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tested on an upgraded Ubuntu 20.04 | |
apt install netplan.io | |
systemctl unmask systemd-networkd.service | |
systemctl unmask systemd-resolved.service | |
ENABLE_TEST_COMMANDS=1 netplan migrate | |
netplan try | |
reboot | |
apt purge ifupdown resolvconf | |
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for the author!
On Debian 12 I got couple of issues when I ran
netplan try
. I'll share my solutions:https://unix.stackexchange.com/a/681221