Repository navigation
ESXi version update on a given host - govmomi call to support updates #3147
|
Hi - This is the command Im planning to use. i would like to know if there is an equivalent govmomi call available for ESXi update operation. |
Replies: 4 comments 1 reply
|
You can invoke esxcli from govmomi and govc: https://github.com/vmware/govmomi/blob/main/govc/USAGE.md#hostesxcli |
|
Thanks Doug. |
|
Dear Doug .. |
|
Thanks Doug When we looks at examples we get to see : Do we need to implement task_infra as well in our code ? |
Yes, you can use the same API that govc/host/esxcli.go uses, for example: