Fix lost IPv6 connectivity on old Debian Buster images when migrating to routed IP
Reviewed on 22 January 2024 • Published on 22 January 2024
On older Debian Buster images, the installed custom version of cloud-init
may interfere with the IPv6 connectivity when the Instance has been transitioned to use routed IP. This may be avoided by installing a newer version of cloud-init prior to the migration to routed IP. The procedure is also valid to recover connectivity for an Instance already using routed IP.
The procedure to install the newer cloud-init
is as follows:
- Install the new
debian-stable
PPA. The URL of the PPA may be configured to use thenoble
series. Make sure that you replace it withbionic
in the URL.
rm -f /etc/apt/sources.list.d/scaleway-ubuntu-stable-bionic.listadd-apt-repository ppa:scaleway/debian-stagingvi /etc/apt/sources.list.d/scaleway-ubuntu-debian-staging-noble.listReplace `noble` with `bionic`
Following this change, a new version of scaleway-ecosystem
and cloud-init
may be installed. It is important to clean the previous cloud-init
data as the new version contains a structure that may cause a failure of cloud-init at the next boot.
apt updateapt -y install scaleway-ecosystem cloud-initcloud-init clean
Reboot the Instance for your changes to be taken into effect.