MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / getVMToolsIP

Function getVMToolsIP

src/cmd/linuxkit/run_vcenter.go:175–181  ·  view source on GitHub ↗
(ctx context.Context, vm *object.VirtualMachine)

Source from the content-addressed store, hash-verified

173}
174
175func getVMToolsIP(ctx context.Context, vm *object.VirtualMachine) (string, error) {
176 guestIP, err := vm.WaitForIP(ctx)
177 if err != nil {
178 return "", err
179 }
180 return guestIP, err
181}
182
183func vCenterConnect(ctx context.Context, newVM vmConfig) (*govmomi.Client, *object.Datastore, *object.DatacenterFolders, *object.HostSystem, object.NetworkReference, *object.ResourcePool) {
184

Callers 1

runVCenterCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected