Hi, I am usign vagrant 2.4.3 on my windows 11
I installed these 2 plugin:
vagrant-vcenter (0.3.3, global)
vagrant-vmware-desktop (3.0.4, global)
I have this vagrant file:
Vagrant.configure(“2”) do |config|
config.vm.provider :vcenter do |vc|
vc.vcenter_hostname = “vcenter.test.com”
vc.username = “administrator@parspooyesh.local”
vc.password = “test”
vc.datacenter = “Datacenter”
vc.compute_resource_name = “Cluster”
vc.resource_pool_name = “Resources”
vc.datastore_name = “Datastore-1”
vc.template_name = “Debian-12”
end
end
when I want to vagrant up I get this error:
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
- A box must be specified.
vCenter Provider:
- The following settings shouldn’t exist: compute_resource_name, resource_pool_name, template_name, vcenter_hostname
- Configuration must specify a vCenter hostname
- Configuration must specify a Datastore (for the VM templates images)
- Configuration must specify a vCenter Datacenter
- Configuration must specify a compute resource name
- Configuration must specify a resource pool name
note* I don’t want to use box, I want to use VM template on my center