VMware {code} Community
TzahiDev
Contributor
Contributor

Using InstallHostPatchV2 without uploading directly to an esx host or knowing the root password

Hi,

I wish to patch ESX hosts automatically with kernel modules.

I looked at the samples in the SDK and succeeded in patching single ESX hosts.

The problem with InstallHostPatchV2 is that i need to first upload the bundle file directly to the esx host.

Only then i can use the InstallHostPatchV2 from the vCenter.

In order to upload to the esx host (using an http PUT) i need to know or request the user and password of the root even though i a working from within a vCenter.

I know it is possible not to know the user/password of an esx host since vShield manager, for example, does not require you to input the root user and password of a specific esx host you are installing to (for example, the vShield app).

If i want to install to 50 esx hosts i would have to input 50 root user/passwords which is no automation at all.

I really have no idea what to do since there is zero documentation about this.

0 Kudos
1 Reply
TzahiDev
Contributor
Contributor

I used the metadata and vib files and put them on an iis http server. Then used the urls to point on them which did the trick.

0 Kudos