-
Notifications
You must be signed in to change notification settings - Fork 921
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not override distro default user #5981
Comments
@ElSamhaa , based on your logs, it appears that whatever platform you're running isn't correctly identifying itself to cloud-init, or the metadata service associated with that platform wasn't working properly when cloud-init attempted to connect. From cloud-init.log:
Further down you can see, If I run your cloud-config within an LXD container, I get the result you're expecting. |
Bug report
According to the docs, the default user data can be overriden by the
user
dictionary keys. Unfortunately, this is not the case.Steps to reproduce the problem
Apply the below user_data to Almalinux 9.5 generic cloud image
The
root
password is modified but the default user (i.ealmalinux
) is not changed tosamha
.Environment details
cloud-init logs
cloud-init.tar.gz
The text was updated successfully, but these errors were encountered: