Expand description
Vagrant’s boxes on this computer: which are held for a provider and this CPU (vagrant box list), and a box added (vagrant box add), its download handed back for a caller that keeps
a record of its downloads, or a box file saved here added under a name (add_file: a run’s
machine saved by Running::package). What uses a box (a self-test’s, a project’s) picks it.
Functions§
- add_box
- Adds box
nameforp(vagrant box add --force), each line Vagrant prints said toline; past half an hour it is given up on. The box as added, for a caller that keeps a record of its downloads (none when its version can’t be read back). - add_
file - Adds the box file
fileas boxnameforp(vagrant box add --name <name> <file> --force), each line Vagrant prints said toline: a run’s machine saved byRunning::package, which a later run boots by that name. The box as added, for a caller that keeps a record of what it added (none when its version can’t be read back). - box_
provider - The Vagrant box provider a box is added and listed under for
p. QEMU is the exception: the vagrant-qemu plugin boots a libvirt-format box’s qcow2 directly, so its box is stored aslibvirt, neverqemu.generic/alpine319’s own “qemu” box is a libvirt image mislabeled (box add --provider qemufetches it and then rejects it), while itslibvirtbox bakes in the vagrant user and key, so the test VM gets SSH without cloud-init (which vagrant-qemu does not seed). - held_
here - The version of box
nameVagrant holds here forpand this computer’s CPU (vagrant box list); none when it holds none, or Vagrant can’t be read.