Fix lost IPv6 connectivity on old Debian Buster images when migrating to routed IP
Reviewed on 05 August 2024 • Published on 22 January 2024
On older Debian Buster images, the installed custom version of cloud-init
may interfere with IPv6 connectivity when the instance transitions to using routed IP. To avoid this, you should install a newer version of cloud-init
before the migration to routed IP. This procedure also recovers connectivity for an instance already using routed IP.
- Install the new
debian-stable
PPA. The URL of the PPA may be configured to use thenoble
series. Replacenoble
withbionic
in the URL.In the file opened withrm -f /etc/apt/sources.list.d/scaleway-ubuntu-stable-bionic.listadd-apt-repository ppa:scaleway/debian-stagingnano /etc/apt/sources.list.d/scaleway-ubuntu-debian-staging-noble.listnano
, replacenoble
withbionic
. - Install the new version of
scaleway-ecosystem
andcloud-init
. It is important to clean the previouscloud-init
data as the new version has a structure that may cause a failure at the next boot.apt updateapt -y install scaleway-ecosystem cloud-initcloud-init clean - Reboot the Instance to apply the changes.
reboot