From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/vagrant/boxes%2Finfo.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 devdocs/vagrant/boxes%2Finfo.html (limited to 'devdocs/vagrant/boxes%2Finfo.html') diff --git a/devdocs/vagrant/boxes%2Finfo.html b/devdocs/vagrant/boxes%2Finfo.html new file mode 100644 index 00000000..2b41e052 --- /dev/null +++ b/devdocs/vagrant/boxes%2Finfo.html @@ -0,0 +1,16 @@ +

Additional Box Information

When creating a Vagrant box, you can supply additional information that might be relevant to the user when running vagrant box list -i. For example, you could package your box to include information about the author of the box and a website for users to learn more:

brian@localghost % vagrant box list -i
+hashicorp/precise64     (virtualbox, 1.0.0)
+  - author: brian
+  - homepage: https://www.vagrantup.com
+
+

Box Info

To accomplish this, you simply need to include a file named info.json when creating a base box which is a JSON document containing any and all relevant information that will be displayed to the user when the -i option is used with vagrant box list.

{
+ "author": "brian",
+ "homepage": "https://example.com"
+}
+
+

There are no special keys or values in info.json, and Vagrant will print each key and value on its own line.

The Box File Format provides more information about what else goes into a Vagrant box.

+

+ © 2010–2018 Mitchell Hashimoto
Licensed under the MPL 2.0 License.
+ https://www.vagrantup.com/docs/boxes/info.html +

+
-- cgit v1.2.3