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
This commit is contained in:
parent
b513fff0b2
commit
85311c29b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=277253
@ -10,6 +10,11 @@ VMFORMATS?= vhd vmdk qcow2 raw
|
|||||||
VMSIZE?= 20G
|
VMSIZE?= 20G
|
||||||
VMBASE?= vm
|
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 \
|
CLOUDWARE?= AZURE \
|
||||||
OPENSTACK
|
OPENSTACK
|
||||||
AZURE_FORMAT= vhdf
|
AZURE_FORMAT= vhdf
|
||||||
@ -65,9 +70,18 @@ vm-image:
|
|||||||
|
|
||||||
vm-cloudware: ${CLOUDTARGETS}
|
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:
|
list-cloudware:
|
||||||
.if !empty(CLOUDWARE)
|
.if !empty(CLOUDWARE)
|
||||||
|
@${ECHO}
|
||||||
|
@${ECHO} "Supported cloud hosting provider images:"
|
||||||
. for _CW in ${CLOUDWARE}
|
. for _CW in ${CLOUDWARE}
|
||||||
@${ECHO} "${_CW:tu}: ${${_CW:tu}_DESC}"
|
@${ECHO} " ${_CW:tu}: ${${_CW:tu}_DESC}"
|
||||||
. endfor
|
. endfor
|
||||||
.endif
|
.endif
|
||||||
|
@ -406,6 +406,16 @@ See
|
|||||||
for valid format values
|
for valid format values
|
||||||
.Pq requires version 20140927 or later .
|
.Pq requires version 20140927 or later .
|
||||||
.El
|
.El
|
||||||
|
.Pp
|
||||||
|
For a list of supported
|
||||||
|
.Va VMFORMATS
|
||||||
|
values
|
||||||
|
.Pq including cloud hosting provider formats
|
||||||
|
along with a brief description, run:
|
||||||
|
.Bd -literal -offset indent
|
||||||
|
cd /usr/src
|
||||||
|
make -C release list-vmtargets
|
||||||
|
.Ed
|
||||||
.Sh CLOUD HOSTING MACHINE IMAGES
|
.Sh CLOUD HOSTING MACHINE IMAGES
|
||||||
The
|
The
|
||||||
.Fx
|
.Fx
|
||||||
@ -522,6 +532,12 @@ for implementation details.
|
|||||||
Displays the list of valid
|
Displays the list of valid
|
||||||
.Va CLOUDWARE
|
.Va CLOUDWARE
|
||||||
values.
|
values.
|
||||||
|
.It Cm list-vmtargets
|
||||||
|
Displays the list of valid
|
||||||
|
.Va VMFORMAT
|
||||||
|
and
|
||||||
|
.Va CLOUDWARE
|
||||||
|
values.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
Major subtargets called by targets above:
|
Major subtargets called by targets above:
|
||||||
|
Loading…
Reference in New Issue
Block a user