Content-Length: 1351986 | pFad | http://www.scaleway.com/en/docs/instances/troubleshooting/fix-cloud-init-debian12/

0 Fix the wrong user configuration of cloud-init on Debian 12 (Bookworm) | Scaleway Documentation
NavigationContentFooter
Suggest an edit
Was this page helpful?

Fix the wrong user configuration of cloud-init on Debian 12 (Bookworm)

Reviewed on 02 January 2025Published on 04 May 2023

Debian 12 (Bookworm) Instances created before June 2nd, 2023 were delivered with a preinstalled version of cloud-init that came with a wrong user configuration made by the custom-built upstream cloud-init 23.2.

The issue has been fixed for Instances created after June 2nd, 2023. The Debian 12 image now uses the official Debian Unstable cloud-init package.

Run the following commands to fix the issue on an Instance affected by this bug:

wget http://ftp.fr.debian.org/debian/pool/main/c/cloud-init/cloud-init_23.2-1_all.deb -O /tmp/cloud-init_23.2-1_all.deb
dpkg -i /tmp/cloud-init_23.2-1_all.deb
for FILE in /etc/group /etc/gshadow /etc/passwd /etc/shadow /etc/subgid /etc/subuid /etc/sudoers.d/90-cloud-init-users;
do
sed -i -e 's/Ubuntu/Debian/g' -e 's/ubuntu/debian/g' $FILE
done
Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.scaleway.com/en/docs/instances/troubleshooting/fix-cloud-init-debian12/

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy