Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.network "forwarded_port", guest: 80, host: 8080
end
config.vm.box = 'ubuntu/xenial64'
https://app.vagrantup.com/ubuntu/boxes/focal64/versions/20220324.0.0/providers/virtualbox.box
Downloads
cd ~/Downloads/
curl -L -o focal64.box https://app.vagrantup.com/ubuntu/boxes/focal64/versions/20220324.0.0/providers/virtualbox.box
Vagrantfile
напишите (внутри итератора)boxname = 'focal64.box'
basedir = ENV.fetch('USERPROFILE', '')
basedir = ENV.fetch('HOME', '') if basedir == ''
basedir = basedir.gsub('\\', '/')
config.vm.box_url = "file://#{basedir}/Downloads/#{boxname}"