Vagrant esxi vm installation

Hi

I use vagrant to install a k8s cluster on my ESXi (free license) hypervisor
based on ubuntu VM guests.

Vagrant saves the boxes locally…

$ ll .vagrant.d/boxes/generic-VAGRANTSLASH-ubuntu1804/3.2.0/vmware_desktop/

…and pushes them into ESXi while installing.

Is there a way to store the box images on the hypervisor directly to load them from there while installing? Can the VMX file be sourced out of the hypervisor instead of sourced locally?

Thx

Is there a way to store the box images on the hypervisor directly to load them from there while installing?

Vagrant currently does not support storing boxes remotely in that way.

Can the VMX file be sourced out of the hypervisor instead of sourced locally?

Vagrant itself does not have control over that. The functionality to interact with ESXI comes from the community plugin being used.