Skip to content

Instantly share code, notes, and snippets.

@zghosts
zghosts / ifupdown-to-netplan.txt
Created August 23, 2023 10:20 — forked from mss/ifupdown-to-netplan.txt
Migrate from ifupdown to netplan
# 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

Keybase proof

I hereby claim:

  • I am zghosts on github.
  • I am zghosts (https://keybase.io/zghosts) on keybase.
  • I have a public key ASCCDsS8xa-qEeeA4NxGpY6pe_yw_dpIHvpaNJhrOGTwdwo

To claim this, I am signing this object: