Cannot create a user logon session for user: "Admin" [Windows Server 2019]
My CloudBase-Init is failing with:
2025-01-13 23:49:12.194 4076 ERROR cloudbaseinit.plugins.windows.createuser [-] Cannot create a user logon session for user: "Admin": cloudbaseinit.exception.WindowsCloudbaseInitException: User logon failed: 'The user name or password is incorrect.'
My user-data looks like this:
users:
- name: username-Admin
passwd: password
primary_group: Users
groups:
- Administrators
- name: "ACME-Admin"
passwd: &dmin@cme
primary_group: Users
groups:
- Administrators
write_files:
- path: C:\test.txt
content: Cloudbase-Init test
runcmd:
- 'echo Greetings from CloudBase-Init > c:\greeting.txt'
- 'whoami /all > c:\CloudBase-Init_whoami_all.txt'
Where/how do I fix this?