VMware Cloud Community
laya_09
Contributor
Contributor

Linux Machine to Domain

Hi All,

I am able to use Customization scripts to join a Windows Machine to a domain once built within VRA. Question is how can i do the same for a Linux Machine ?

was thinking of using Install Ansible run playbook on local host to join domain, uninstall Ansible during the creation of the machine within VRA. but there has to be a more simpler way

Tags (1)
Reply
0 Kudos
6 Replies
daphnissov
Immortal
Immortal

If you want to talk about what's simplest, it's probably using the SovLabs Active Directory module where you define an AD profile

pastedImage_0.png

it automatically creates a property group for you, and then you simply attach it to any blueprint that you want to join AD.

pastedImage_1.png

Reply
0 Kudos
laya_09
Contributor
Contributor

Hi Daphnissov

This would join both Linux and Windows to a Domain allowing Red Hat user to log with there AD user and password.

I was looking at installing Ansible on the Red hat machine and playing a join.yml script and calling that during creation from Software components and removing both Ansible and that playbook once finished.

Reply
0 Kudos
daphnissov
Immortal
Immortal

This would join both Linux and Windows to a Domain allowing Red Hat user to log with there AD user and password.

It will join any machines present in this blueprint, be they Windows or Linux. There are many other ways to customize on what blueprints/machines this runs, but this is the simplest.

I was looking at installing Ansible on the Red hat machine and playing a join.yml script and calling that during creation from Software components and removing both Ansible and that playbook once finished.

That is a ton of unnecessary work. This module does not depend on anything inside the guest to have AD adds and removes work. You're giving yourself work here with this method that doesn't need to exist.

Reply
0 Kudos
jsauter
Contributor
Contributor

easy if i own your product, but i don't so it's really a sales pitch question and u just happened to be there with an answer. right?

Reply
0 Kudos
jsauter
Contributor
Contributor

easy if i own your product, but i don't so it's really a sales pitch question and u just happened to be there with an answer. right?

Reply
0 Kudos
daphnissov
Immortal
Immortal

Actually, no, that's not right. It's not *my* product, first of all. Second of all, OP asked what was the "simplest" way, and the answer in my opinion (and in the opinion of many) is to use the SovLabs module for that, which does cost money. If OP had asked what was "cheapest" then that would not have been a proposed solution.

Reply
0 Kudos