cloudbase / cloudbase-init

Cross-platform instance initialization
http://openstack.org
Apache License 2.0
421 stars 149 forks source link

Domain join userdata module #30

Open rhockenbury opened 4 years ago

rhockenbury commented 4 years ago

For domain joining windows nodes, it would be convenient to have a userdata module. Currently, this could be done through the cloudbase-init-unattend.xml, local scripts plugin, or write_files / runcmd.

Something like:

#cloud-config
domain_join:
  domain_name: domain
  ou_path: ou
  server: server
  username: username
  password: password
alexpilotti commented 4 years ago

we also also need to add support for unattended domain join base64 blobs

kevin-fibich commented 4 years ago

this should go nicely with vendor_data support but that has not been included for 3 years now ...

ader1990 commented 4 years ago

@kevin-fibich the vendor data plugin patch got updated recently. If you could review it / test it out to get merged, it would be great: https://review.opendev.org/#/c/466720 .

Thank you, Adrian.