diff --git a/engine/hatchery/vsphere/init.go b/engine/hatchery/vsphere/init.go index 90f99e0b41..099b72dc47 100644 --- a/engine/hatchery/vsphere/init.go +++ b/engine/hatchery/vsphere/init.go @@ -13,6 +13,11 @@ import ( // InitHatchery create new client for vsphere func (h *HatcheryVSphere) InitHatchery(ctx context.Context) error { + + h.user = h.Config.VSphereUser + h.password = h.Config.VSpherePassword + h.endpoint = h.Config.VSphereEndpoint + // Connect and login to ESX or vCenter c, errNc := h.newClient(ctx) if errNc != nil {