Add some comments with examples on how to build Vagrant images.

Approved by:	re (gjb)
This commit is contained in:
Brad Davis 2017-02-01 16:15:23 +00:00
parent 4b481ba0ed
commit accb19a8bc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=313044

View File

@ -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