-
Notifications
You must be signed in to change notification settings - Fork 124
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
Comments
Hi Bhargavi, the way we do it is to set that part up in VCenter as a customization then pass 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. |
Hi Sean,
So, what if in case we have multiple domains. As the values are fixed in the customization specifications, Do we need to create separate customization templates for each domain?
Thanks & Regards.
Bhargavi.A.
[cid:[email protected]]
Vnet: 572301
Email: [email protected]<mailto:[email protected]>
From: Sean Walberg <[email protected]>
Sent: Monday, August 20, 2018 7:09 PM
To: chef-partners/knife-vsphere <[email protected]>
Cc: Allada, Bhargavi (Cognizant) <[email protected]>; Author <[email protected]>
Subject: Re: [chef-partners/knife-vsphere] Server to be joined to the Domain Post Provisioning. (#446)
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#446 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AlGwdsjZeQp1yE7ABAXJ61Qt0pWrvn67ks5uSrwPgaJpZM4WD65m>.
|
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! |
Hi Sean,
Is there any way to pass the values in the recipes Dynamically by chance?
For example, I amtrying to invoke the powershell script through chef using “Powershell_Script” resource and it is working well and good. So if I need to pass any value in my script dynamically/runtime, How can we achieve that?
Please help me out with the solution if any.
Regards,
Bhargavi A
Sr. Infra Developer – Cognizant Infrastructure Services
[cid:[email protected]]
From: Sean Walberg <[email protected]>
Sent: Monday, August 20, 2018 8:16 PM
To: chef-partners/knife-vsphere <[email protected]>
Cc: Allada, Bhargavi (Cognizant) <[email protected]>; Author <[email protected]>
Subject: Re: [chef-partners/knife-vsphere] Server to be joined to the Domain Post Provisioning. (#446)
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!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#446 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AlGwdm5O4SF8sJh2L2K4DEex81k2V_jLks5uSsuigaJpZM4WD65m>.
|
Versions:
Platform Details
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.
The text was updated successfully, but these errors were encountered: