This file contains 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
sudo apt update | |
sudo apt full-upgrade -y | |
sudo apt install ifupdown net-tools resolvconf -y | |
sudo apt-get purge netplan.io --autoremove -y | |
sudo cloud-init clean | |
sudo cloud-init init | |
sudo systemctl unmask networking | |
sudo systemctl enable networking resolvconf | |
sudo systemctl stop systemd-networkd.socket systemd-networkd systemd-networkd-wait-online | |
sudo systemctl disable systemd-networkd.socket systemd-networkd systemd-networkd-wait-online |