I’ve seen dozens of tutorials on how Vagrant already has its boxes, but that’s not what I need, what I need is to connect Vagrant to my already created machine and manage it.
I already have Vagrant, VB, etc, all installed and ready, I already tried this:
<code>Vagrant.configure("2") do |config|
config.vm.box = nil
config.vm.provider "virtualbox" do |vb|
vb.name = "win-srv-22"
end
end
</code>
<code>Vagrant.configure("2") do |config|
config.vm.box = nil
config.vm.provider "virtualbox" do |vb|
vb.name = "win-srv-22"
end
end
</code>
Vagrant.configure("2") do |config|
config.vm.box = nil
config.vm.provider "virtualbox" do |vb|
vb.name = "win-srv-22"
end
end
I tried putting full, absolute paths, pointing to my virtual machine according to the path that VB gives me and also going to the VB folder, but when I try to raise the service with “vagrant up”, it is the same error: “vm: * A box must be specified”.