image: support xz compressed raw files
as we publish the raw files on the mirrors we want to be able to request xz compressed versions of theraw image. Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
parent
238c45a95e
commit
1cbc534d89
4 changed files with 36 additions and 3 deletions
4
cli/koji
4
cli/koji
|
|
@ -5121,7 +5121,7 @@ def handle_spin_appliance(options, session, args):
|
|||
help=_("Set the number of virtual cpus in the appliance, " +
|
||||
"default is 1"))
|
||||
parser.add_option("--format", metavar="DISK_FORMAT", default='raw',
|
||||
help=_("Disk format, default is raw. Other options are qcow, " +
|
||||
help=_("Disk format, default is raw. Other options are raw-xz, qcow, " +
|
||||
"qcow2, and vmx."))
|
||||
|
||||
(task_options, args) = parser.parse_args(args)
|
||||
|
|
@ -5138,7 +5138,7 @@ def handle_spin_appliance(options, session, args):
|
|||
def handle_image_build(options, session, args):
|
||||
"""Create a disk image given an install tree"""
|
||||
formats = ('vmdk', 'qcow', 'qcow2', 'vdi', 'rhevm-ova', 'vsphere-ova',
|
||||
'docker')
|
||||
'docker', 'raw-xz')
|
||||
usage = _("usage: %prog image-build [options] <name> <version> " +
|
||||
"<target> <install-tree-url> <arch> [<arch>...]")
|
||||
usage += _("\n %prog image-build --config FILE")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue