I have a vagrant file as follows
config.vm.define "web" do |web|
web.vm.boot_timeout = 1500
web.vm.box = "generic/fedora39"
web.vm.box_version = "4.3.12"
web.vm.hostname = "web"
web.vm.network "private_network", ip: "192.168.56.20"
web.vm.network "forwarded_port", guest: 80, host: 8080
end
VM is created when I do
vagrant up
but ssh fails. I log to the VM in virtualbox I do ifconfig, I see an IP which is different from the one I indicated in the vagrant file.