New Question
0

How to do a Windows VM domain Join in OpenStack running on KVM

asked 2016-10-04 12:19:54 +0300

Ramakrishnan S gravatar image

Hello All,

We need to create a Heat template in OpenStack that will join the domain whenever an end user provisions a VM from that Image. Can you please let me know if you have the expertise to assist us? The windows version will be W2012 R2 and the Hypervisor we are using in OpenStack is KVM. We are using the Suse OpenStack Cloud in our infra.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2016-11-11 21:09:43 +0300

Claudiu Belu gravatar image

Hello,

A simple solution would be to pass in a powershell script that will join your VM to your desired AD as the instance's userdata. Cloudbase-init will then execute that script for you.

Best regards,

Claudiu Belu

edit flag offensive delete link more
0

answered 2016-10-19 18:48:30 +0300

jrack gravatar image

Personally I am a big fan of looking at djoin and the offline model for this ask myself. Its not done in any project I know of, but it shouldn't be a ton of work. You would just need a microservice that wraps that binary on a windows box and provides a context that is scoped for OU authorization. Than you could just pipe the base64 blob into the userdata for the instance and leverage cb-init to run the /requestodj in the VM init process.

Now admin passwords or anything being tossed around or obfuscated. Just a single use blob of metadata that is easily handled within init.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

1 follower

Stats

Asked: 2016-10-04 12:19:54 +0300

Seen: 184 times

Last updated: Nov 11 '16