Migrate from ifupdown to netplan. On-line without reboot. Scaleway

Автор:Дмитрий Алтухов

Migrate from ifupdown to netplan. On-line without reboot. Scaleway

This is useful for old VMs (with Ubuntu 18.04) on Scaleway.
Playbook for Ansible will be created later.

apt install netplan.io libnet-cidr-perl iputils-ping -y systemctl unmask systemd-networkd.service systemctl enable systemd-networkd.service ENABLE_TEST_COMMANDS=1 netplan migrate cloud-init init cat /etc/netplan/50-cloud-init.yaml rm /etc/netplan/10-ifupdown.yaml netplan apply networkctl status ens2 systemctl stop networking.service killall dhclient apt purge ifupdown resolvconf -y

Об авторе

Дмитрий Алтухов administrator