aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.vm
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-01-16 17:40:30 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-01-16 17:40:30 +0000
commit85311c29b012a1660d679ce1fa17841f13f8ee08 (patch)
tree3547d6b9d8b87eef2374f9cf6824adb8f3ad739d /release/Makefile.vm
parentb513fff0b2f34490c0eade88c51f613e1f0a849d (diff)
downloadsrc-85311c29b012a1660d679ce1fa17841f13f8ee08.tar.gz
src-85311c29b012a1660d679ce1fa17841f13f8ee08.zip
Add 'list-vmtargets' target, which produces a list of
all supported VM and cloud provider images. Add VHD_DESC, VMDK_DESC, QCOW2_DESC, RAW_DESC image descriptions. Format the output to make a bit more readable. Update release(7) to document the list-vmtargets target. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=277253
Diffstat (limited to 'release/Makefile.vm')
-rw-r--r--release/Makefile.vm16
1 files changed, 15 insertions, 1 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm
index f28881eca7ae..4652c164a76f 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -10,6 +10,11 @@ VMFORMATS?= vhd vmdk qcow2 raw
VMSIZE?= 20G
VMBASE?= vm
+VHD_DESC= Azure, VirtualPC, Hyper-V, Xen disk image
+VMDK_DESC= VMWare, VirtualBox disk image
+QCOW2_DESC= Qemu, KVM disk image
+RAW_DESC= Unformatted raw disk image
+
CLOUDWARE?= AZURE \
OPENSTACK
AZURE_FORMAT= vhdf
@@ -65,9 +70,18 @@ vm-image:
vm-cloudware: ${CLOUDTARGETS}
+list-vmtargets: list-cloudware
+ @${ECHO}
+ @${ECHO} "Supported virtual machine disk image formats:"
+.for FORMAT in ${VMFORMATS:tu}
+ @${ECHO} " ${FORMAT:tl}: ${${FORMAT}_DESC}"
+.endfor
+
list-cloudware:
.if !empty(CLOUDWARE)
+ @${ECHO}
+ @${ECHO} "Supported cloud hosting provider images:"
. for _CW in ${CLOUDWARE}
- @${ECHO} "${_CW:tu}: ${${_CW:tu}_DESC}"
+ @${ECHO} " ${_CW:tu}: ${${_CW:tu}_DESC}"
. endfor
.endif