`vagrant box update` ignores `vm.box_download_options`
Author: stephenreayCreated Sep 22, 2026Updated Sep 22, 2026
Labelswaiting-intake
When using HTTP authentication for private boxes, some actions that fetch the box metadata ignore the vm.box_download_options hash - notably, box update.
vagrant box outdated was already patched a while ago, but box update apparently wasn't. So currently if a box/metadata relies on the extra settings hash for curl, it can be added, it can be checked for updates via box outdated but it cannot be updated via box update
Expected behavior
The extra options for curl should be used on all actions that try to fetch the box metadata (and box files)
Actual behavior
Vagrant doesn't use the extra curl options when fetching metadata during box update.
Reproduction information
Vagrant version
2.4.9
Host operating system
macOS 15.7.9
Guest operating system
n/a
Steps to reproduce
- have a Vagrantfile with a
box_urlthat requires some extra settings (i.e.userto use basic auth) - add the box
- try to update the box
Source: hashicorp/vagrant