Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

cloud-init password sets to wrong value, when DNS config changed #1768

Open
CRASH-Tech opened this issue Feb 12, 2025 · 0 comments
Open

cloud-init password sets to wrong value, when DNS config changed #1768

CRASH-Tech opened this issue Feb 12, 2025 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@CRASH-Tech
Copy link

Describe the bug
Can't login to VM after cloud-init DNS config changed. But some password hash present in /etc/shadow.
It's OK when using user_data_file_id, but fails when use user_account.
If after problem I manually set password via Proxmox GUI and reboot VM - I can login again.
All checks in ubuntu 22.04(cloudimg)

To Reproduce
Steps to reproduce the behavior:

  1. Create a resource 'proxmox_virtual_environment_vm' with user password
  2. Check ssh login - OK
  3. Change DNS config in cloud-init (vm reboots)
  4. Check ssh login - FAIL
  • Single or clustered Proxmox: cluster
  • Proxmox version: 8.3.3
  • Provider version: 0.70.0
  • Terraform/OpenTofu version: v1.9.0
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🐛 bug Something isn't working
Projects
Status: 📥 Inbox
Development

No branches or pull requests

1 participant