Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server to be joined to the Domain Post Provisioning. #446

Open
BhargaviAllada opened this issue Aug 20, 2018 · 4 comments
Open

Server to be joined to the Domain Post Provisioning. #446

BhargaviAllada opened this issue Aug 20, 2018 · 4 comments

Comments

@BhargaviAllada
Copy link

Versions:

  • Version of knife-vsphere: 2.0.1
  • Version of chef: 13.6.4

Platform Details

  • Version of vSphere: Version 6.5.0.10000 Build 7119157
  • Version of ESXi: 6.5.0

Scenario:

We have a requirement to join the VM to the Domain Post Provisioning. Kindly do let us know how can we achieve this through the commands.

Regards,
Bhargavi.

@swalberg
Copy link
Collaborator

Hi Bhargavi, the way we do it is to set that part up in VCenter as a customization then pass --cspec customization_name on the command line.

There's a spot where you can enter a domain and then admin credentials, which keeps them on the vcenter server so you don't have to share them to anyone that needs to make a VM.

@BhargaviAllada
Copy link
Author

BhargaviAllada commented Aug 20, 2018 via email

@swalberg
Copy link
Collaborator

Yes, that's right.

https://github.com/chef-partners/knife-vsphere/wiki/Sample-plugin-to-do-unattended-Windows-installations has a sample plugin that has the bones of doing it on the command line if the cspec method doesn't work. We have a small handful of domains and it's not a huge deal to maintain separate cspecs. Just have to remember to update them when the credentials change!

@BhargaviAllada
Copy link
Author

BhargaviAllada commented Sep 12, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants