Skip to content

enhance(vmware-lib): Update to latest govc tool, add govc-update-version Task

Shane Gibson requested to merge update-vmwlib-govc into v4

Updates vmware-lib to utilize latest govc binary (v0.30.4). Adds new Task that will allow in the field upgrade of the govc binary without context container update if needed.

The new govc-update-version Task uses the three primary control Params of:

  • govc/update-binary - boolean true/false to enable (true) the update process
  • govc/update-version - uses the github releases URL and this specified Version to update to
  • govc/update-url - complete source URL replacement for acquiring the govc binary

The binary can be in a Tar archive (gzip or other standard tar supported zip compression formats), bare Tar archive, or as just the binary.

Also fixes the govc-commands Task to correctly operate when an OVA is not defined as part of the commands being run.

This content requires a Context update for both the govc and vmware-tools context containers. With a Self-Runner in place, and the Self-Runner in WorkOrder mode, add the bootstrap-contexts and bootstrap-vmwarelib Profiles to the Self-Runner machine, then run the rebootstrap-drp Blueprint on it.

Verify that at least v1.2.11 of the govc and vmware-tools context containers are uploaded to the system in the Job Log.

Merge request reports