1

I'd like to have my ESX hosts add themselves to vCenter during the kickstart process (or in a script that runs after the first boot).

I can't find a method for doing this; is there one?

ceri
  • 62
  • 4

1 Answers1

0

There are methods in the API to add hosts: one for standalone hosts, and one for hosts in a cluster.

I'm not sure what scripting tools you have available during the kickstart process, but I recommend using one of VMware's scripting wrappers: the PowerCLI for powershell, for instance. There are SDKs available in .Net and Perl, among others. See here for more API information.

Evan Powell
  • 960
  • 5
  • 4