All downloaded boxes are saved in ~/.vagrant.d/boxes directory in your host system. The above command downloads the new version of box and installs it. The users can update the box associated with current Vagrant environment with command: $ vagrant box update * 'Fedora33' for 'libvirt' wasn't added from a catalog, no version informationĪs you can see in the above output, I have a some outdated boxes. * 'archlinux/archlinux' for 'virtualbox' is outdated! Current: 20201201.10292. * 'archlinux/archlinux' for 'virtualbox' is outdated! Current: 20201215.11392. * 'fedora33' for 'virtualbox' wasn't added from a catalog, no version information * 'generic/alpine38' for 'virtualbox' is outdated! Current: 3.1.16. * 'oraclelinux/7' for 'virtualbox' is outdated! Current: 7.9.184. * 'oraclelinux/8' for 'libvirt' (v8.3.183) is up to date usr/share/rubygems-integration/all/gems/vagrant-2.2.6/lib/vagrant/box.rb:124: warning: The called method `load_metadata' is defined here Sample output: /usr/share/rubygems-integration/all/gems/vagrant-2.2.6/plugins/commands/box/command/outdated.rb:65: warning: Using the last argument as keyword parameters is deprecated maybe ** should be added to the call If you want to check for all installed boxes, simply add -global flag at the end: $ vagrant box outdated -global Checking if box 'generic/alpine38' version '3.1.16' is up to date.Ī newer version of the box 'generic/alpine38' for provider 'virtualbox' isĪvailable! You currently have version '3.1.16'. This command will show you the list of boxes that need to be updated. The user can also manually check for the outdated boxes in your current Vagrant environment using vagrant box outdated command: $ vagrant box outdated
0 Comments
Leave a Reply. |