vmware / vsphere-automation-sdk-python

Python samples, language bindings, and API reference documentation for vSphere, VMC, and NSX-T using the VMware REST API
MIT License
745 stars 313 forks source link

pyvmomi code to add vcsa to AD and to set dns settings #357

Closed swshkar closed 1 year ago

swshkar commented 1 year ago

Is your feature request related to a problem? Please describe.

HI,

I need to know is there any pyvmomi equivalent to command "/opt/likewise/bin/domainjoin-cli join {{ root_domain }} {{ user }} {{ password }}" for joining vcsa 7.0 to active directory?

and is there pyvmomi code to setup dns settings on vcsa?

Thanks,

Describe the solution you'd like

Looking for pyvmomi equivalent of vcsa shell command "/opt/likewise/bin/domainjoin-cli join {{ root_domain }} {{ user }} {{ password }}" for add vcsa to active directory?

also looking for pyvmomi code for configuring dns settings on vcsa

Thanks,

Describe alternatives you've considered

No response

Additional context

No response

kunal-pmj commented 1 year ago

Issue against pyvmomi : https://github.com/vmware/pyvmomi-community-samples/issues/717