vagrant/plugins/commands
Seth Vargo dab4537682
core/boxes: Do not update the same box twice
Vagrant's environment (which includes the known list of boxes and
versions) is established at the start of the Vagrant run. This means
that box downloads which occur during the run are not contained in the
set until the next run. This causes duplicate box downloads to raise an
error in multi-machine Vagrantfiles.

This commit fixes that issue by pre-processing the machines by provider
and version, creating a unique set of boxes to update.

Fixes GH-6042
2016-05-31 23:08:51 -04:00
..
box core/boxes: Do not update the same box twice 2016-05-31 23:08:51 -04:00
cap commands/cap: require_relative 2015-10-08 10:42:10 -04:00
destroy Update command help to show id too 2016-05-29 01:06:51 -04:00
global-status commands/global-status: call proper method 2014-04-23 06:21:44 -07:00
halt Update command help to show id too 2016-05-29 01:06:51 -04:00
help core: output synopsis with command [GH-2249] 2013-11-23 14:00:42 -08:00
init Add --box-version to `vagrant init` 2016-05-30 15:33:58 -04:00
list-commands commands/list-commands: lists all commands primary and non-primary 2014-01-11 09:32:13 -08:00
login Print a warning when token and envvar are set 2016-04-08 10:16:10 -04:00
package Update command help to show id too 2016-05-29 01:06:51 -04:00
plugin Use SSL and HTTPS links where appropriate 2016-01-25 13:14:54 -05:00
port Update command help to show id too 2016-05-29 01:06:51 -04:00
powershell Fix `uninitialized constant` error in `vagrant powershell` command 2015-12-05 17:24:58 +03:00
provider hosts/darwin: support virtualbox install 2015-11-04 15:47:56 -08:00
provision update help message on --provision-with to add by provisioner name 2015-11-26 15:17:09 +00:00
push Validate pushes in the global config 2015-01-07 15:51:20 -05:00
rdp Update command help to show id too 2016-05-29 01:06:51 -04:00
reload Allow provisioner instance names to be specified for `up` and `reload` commands and option `--provision-with` 2015-07-17 14:26:13 +10:00
resume Do not ignore the sentinal file when running resume 2016-02-19 18:24:48 -08:00
snapshot Fix up style nit. 2016-03-04 17:35:54 +00:00
ssh Update command help to show id too 2016-05-29 01:06:51 -04:00
ssh_config Update command help to show id too 2016-05-29 01:06:51 -04:00
status Update command help to show id too 2016-05-29 01:06:51 -04:00
suspend Update command help to show id too 2016-05-29 01:06:51 -04:00
up Update command help to show id too 2016-05-29 01:06:51 -04:00
version commands/version: remove unused require 2014-09-01 15:29:27 -07:00