You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First remove the .vagrant.d/boxes/mybox2/3.1.175/virtualbox/box_update_check file (if this is not removed, it will always skip the version check. Tested this over the course of many days - this parenthetical may be a separate bug because the throttle is only supposed to be something like 1 hour (according to "Vagrant box outdated" and "vagrant up" both are not showing latest version of box from locally hosted catalog file #11228), but in my case, it always skips unless I manually remove this file).
Run the "vagrant box outdated mymachine3" command
The only output is, "Checking if box 'mybox2' version '3.1.175' is up to date..." with nothing after that.
Vagrantfile
# -*- mode: ruby -*-# vi: set ft=ruby :require'yaml'servers=YAML.load_file('servers.yml')servers.eachdo |opts|
ifopts["name"].nil?oropts["enable"].nil?oropts["box"].nil?oropts["mem"].nil?oropts["vram"].nil?oropts["cpus"].nil?print"Error: malformed servers.yml file\n\n"exit1endendVAGRANT_API_VERSION=2Vagrant.configure("#{VAGRANT_API_VERSION}")do |config|
servers.each_with_indexdo |opts,iServer|
if not opts["enable"]nextendconfig.vm.defineopts["name"],autostart:false,primary:falsedo |server|
server.vm.box=opts["box"]server.vm.box_url="file:///mydir/vagrant/#{opts["box"]}.json"# SSH configurationserver.ssh.username="myusername"server.ssh.password="mypassword"endendend
The text was updated successfully, but these errors were encountered:
Debug output
https://gist.github.com/wfuzzer/1532a7a966ada228a828d2f7d9fab9ea
Expected behavior
It should have found an updated box version.
Actual behavior
It did not detect an updated box version.
Reproduction information
Vagrant version
2.4.0
Host operating system
RHEL8
Guest operating system
RHEL8
Steps to reproduce
Vagrantfile
The text was updated successfully, but these errors were encountered: