Debug output
none
Expected behavior
fetching of box and bringing up vm regardless of auth status for public boxes
Actual behavior
fails to fetch metadata or download a box with 401 error
Reproduction information
Vagrant version
2.4.8
Host operating system
MacOS 15.6 M3 MBP
Guest operating system
bento/almalinux-9
Steps to reproduce
- Set env variable VAGRANT_CLOUD_TOKEN with expired session auth token
- Try to bring up any vagrant box not already found on the workstation
Vagrantfile
Vagrant.configure("2") do |c|
c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
c.vm.box = "bento/almalinux-9"
c.vm.hostname = "default-almalinux-9.vagrantup.com"
c.vm.synced_folder ".", "/vagrant", disabled: true
c.vm.synced_folder "/Users/corey.hemminger/.kitchen/cache", "/tmp/omnibus/cache", create: true
c.vm.provider :virtualbox do |p|
p.name = "kitchen-test-default-almalinux-9-8f421b51-925f-42ce-a4da-05f5f4dff419"
p.customize ["modifyvm", :id, "--audio", "none"]
end
end