1 | initial version |
Hi,
Proxmox attaches config drive images that expose the instance metadata in an Openstack compatible format, which we do support [1].
About the passwords: we have a plugin that sets passwords retrieved from the instance metadata. If none was provided, we'll just generate one, encrypt it and then try to pass it back to the metadata service - which works for some metadata services (e.g. the openstack one) but won't work when using config drive images (which are static).
You have a few options: * disable the password plugin so that cloudbase-init won't set passwords anymore * set a password using the instance metadata, which will be applied by cloudbase-init. you may use the "cipassword" flag for that * use certificate base authentication. Make sure that the winrm cloudbase-init plugins are enabled and then you may pass certificates using user data files. For that, you may use the "cicustom" flag.
[1] https://pve.proxmox.com/wiki/Cloud-Init_Support [2] https://cloudbase-init.readthedocs.io/en/latest/plugins.html#setting-password-main
Regards,
Lucian Petrut
2 | No.2 Revision |
Hi,
Proxmox attaches config drive images that expose the instance metadata in an Openstack compatible format, which we do support [1].
About the passwords: we have a plugin that sets passwords retrieved from the instance metadata. If none was provided, we'll just generate one, encrypt it and then try to pass it back to the metadata service - which works for some metadata services (e.g. the openstack one) but won't work when using config drive images (which are static).
You have a few options:
* options:
disable the password plugin so that cloudbase-init won't set passwords anymore
* anymore
set a password using the instance metadata, which will be applied by cloudbase-init. you may use the "cipassword" flag for that
* that
use certificate base authentication. Make sure that the winrm cloudbase-init plugins are enabled and then you may pass certificates using user data files. For that, you may use the "cicustom" flag.
[1] https://pve.proxmox.com/wiki/Cloud-Init_Support [2] https://cloudbase-init.readthedocs.io/en/latest/plugins.html#setting-password-main
Regards,
Lucian Petrut
3 | No.3 Revision |
Hi,
Proxmox attaches config drive images that expose the instance metadata in an Openstack compatible format, which we do support [1].
About the passwords: we have a plugin that sets passwords retrieved from the instance metadata. If none was provided, we'll just generate one, encrypt it and then try to pass it back to the metadata service - which works for some metadata services (e.g. the openstack one) but won't work when using config drive images (which are static).
You have a few options:
disable the password plugin so that cloudbase-init won't set passwords anymore
set a password using the instance metadata, which will be applied by cloudbase-init. you may use the "cipassword" flag for that
use certificate base authentication. Make sure that the winrm cloudbase-init plugins are enabled and then you may pass certificates using user data files. For that, you may use the "cicustom" flag.
[1] https://pve.proxmox.com/wiki/Cloud-Init_Support
https://pve.proxmox.com/wiki/Cloud-Init_Support
[2] https://cloudbase-init.readthedocs.io/en/latest/plugins.html#setting-password-main
Regards,
Lucian Petrut