aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.vagrant
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2017-02-01 16:15:23 +0000
committerBrad Davis <brd@FreeBSD.org>2017-02-01 16:15:23 +0000
commitaccb19a8bc6abc0fd810a093cdefa21872bc35dd (patch)
tree9650bd09fde38fc6022c1b08481590d4d092ce4e /release/Makefile.vagrant
parent4b481ba0edce396274abf5c91a62841888134dbb (diff)
downloadsrc-accb19a8bc6abc0fd810a093cdefa21872bc35dd.tar.gz
src-accb19a8bc6abc0fd810a093cdefa21872bc35dd.zip
Add some comments with examples on how to build Vagrant images.
Approved by: re (gjb)
Notes
Notes: svn path=/head/; revision=313044
Diffstat (limited to 'release/Makefile.vagrant')
-rw-r--r--release/Makefile.vagrant14
1 files changed, 13 insertions, 1 deletions
diff --git a/release/Makefile.vagrant b/release/Makefile.vagrant
index 045292de1784..9048279821f5 100644
--- a/release/Makefile.vagrant
+++ b/release/Makefile.vagrant
@@ -1,8 +1,20 @@
#
# $FreeBSD$
#
+# Makefile for producing and uploading Vagrant boxes to Hashicorp Atlas
#
-# Makefile for uploading Vagrant boxes to Hashicorp Atlas
+# Usage Example:
+# Create a Vagrant image for VirtualBox:
+# make vagrant-box WITH_VMIMAGES=y WITH_CLOUDWARE=y \
+# CLOUDWARE=vagrant-virtualbox VMFORMATS=vmdk
+#
+# To create a Vagrant image for VMWare and Upload it to Atlas:
+# VAGRANT_KEY is your Atlas API Token
+# VAGRANT_USERNAME is your Atlas Username
+# env VAGRANT_KEY=foo VAGRANT_USERNAME=bar make vagrant-upload \
+# WITH_VMIMAGES=y WITH_CLOUDWARE=y CLOUDWARE=vagrant-vmware \
+# VMFORMATS=vmdk
+# For more info: https://www.vagrantup.com/docs/other/atlas.html
#
VAGRANT_IMG?= ${.OBJDIR}/vagrant.vmdk