Skip to content
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

Open
ElSamhaa opened this issue Jan 17, 2025 · 0 comments
Open

Can not override distro default user #5981

ElSamhaa opened this issue Jan 17, 2025 · 0 comments
Labels
bug Something isn't working correctly new An issue that still needs triage

Comments

@ElSamhaa
Copy link

ElSamhaa commented Jan 17, 2025

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

#cloud-config

user:
  name: samha
  plain_text_passwd: password
  lock_passwd: false

users:
- name: root
  plain_text_passwd: password
  lock_passwd: false

The root password is modified but the default user (i.e almalinux) is not changed to samha.

Environment details

  • Cloud-init version: 23.4
  • Operating System Distribution: Almalinux
  • Cloud provider, platform or installer type: KVM

cloud-init logs

cloud-init.tar.gz

@ElSamhaa ElSamhaa added bug Something isn't working correctly new An issue that still needs triage labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly new An issue that still needs triage
Projects
None yet
Development

No branches or pull requests

1 participant