-
-
Save hi-ko/32e9ca104910e5f5b261dc5077c62284 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