Open dniasoff opened 7 months ago
Hello,
Cloudbase-init supports a subset of the cloud-config plugins. From your logs:
2023-12-06 22:34:38.389 3788 ERROR cloudbaseinit.plugins.common.userdataplugins.cloudconfig [-] Plugin 'disable_root' is currently not supported
2023-12-06 22:34:38.405 3788 ERROR cloudbaseinit.plugins.common.userdataplugins.cloudconfig [-] Plugin 'ssh_pwauth' is currently not supported
2023-12-06 22:34:38.405 3788 ERROR cloudbaseinit.plugins.common.userdataplugins.cloudconfig [-] Plugin 'password' is currently not supported
The password, disable_root, ssh_pwauth
are not currently supported.
Here is the list of the supported cloud-config plugins: https://cloudbase-init.readthedocs.io/en/latest/userdata.html#cloud-config .
In your case, you can leverage the users
cloud config plugin. Here is an example
#cloud-config
users:
-
name: brian
gecos: 'Brian Cohen'
primary_group: Users
groups: cloud-users
passwd: StrongPassw0rd
inactive: False
expiredate: 2020-10-01
ssh_authorized_keys:
- ssh-rsa AAAB...byV
- ssh-rsa AAAB...ctV
For more debugging, can you please share the userdata content?
Thank you, Adrian Vladu
Hi
Use OpenStack 2023.2
And built Windows images with cloudbase-init using default config.
Setting the password using an SSH-key works nicely.
When I try to preconfigure the password and inject in into the instance.
I get the following logs