website/docs: update docs for checksums on versioned boxes

This commit is contained in:
Mitchell Hashimoto 2014-03-01 12:08:27 +01:00
parent 5018e4d8a4
commit c605855634
2 changed files with 10 additions and 2 deletions

View File

@ -38,7 +38,7 @@ providers from a single file, and more.
<div class="alert alert-block alert-info"> <div class="alert alert-block alert-info">
<strong>You don't need to manually make the metadata.</strong> If you <strong>You don't need to manually make the metadata.</strong> If you
have an account with <a href="#">Vagrant Cloud</a>, you have an account with <a href="http://www.vagrantcloud.com">Vagrant Cloud</a>, you
can create boxes there, and Vagrant Cloud automatically creates can create boxes there, and Vagrant Cloud automatically creates
the metadata for you. The format is still documented here. the metadata for you. The format is still documented here.
</div> </div>
@ -53,7 +53,9 @@ It is a JSON document, structured in the following way:
"version": "0.1.0", "version": "0.1.0",
"providers": [{ "providers": [{
"name": "virtualbox", "name": "virtualbox",
"url": "http://somewhere.s3.com/precise64_010_virtualbox.box" "url": "http://somewhere.com/precise64_010_virtualbox.box",
"checksum_type": "sha1",
"checksum": "foo"
}] }]
}] }]
} }

View File

@ -89,6 +89,12 @@ you're not using a catalog).
a catalog, the name is included in the catalog entry and doesn't have a catalog, the name is included in the catalog entry and doesn't have
to be specified. to be specified.
<div class="alert alert-block alert-warn">
<strong>Checksums for versioned boxes or boxes from Vagrant Cloud:</strong>
For boxes from Vagrant Cloud, the checksums are embedded in the metadata
of the box. The metadata itself is served over TLS and its format is validated.
</div>
# Box List # Box List
**Command: `vagrant box list`** **Command: `vagrant box list`**