From f426a357b157eee60b8031eabbfe7d9a6e2e404e Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 14 Dec 2018 14:26:01 -0800 Subject: [PATCH] Fix compose_args for vhd image RHEL7 arguments are slightly different from the RHEL8 version this was ported from. Related: rhbz#1656105 --- src/pylorax/api/compose.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/pylorax/api/compose.py b/src/pylorax/api/compose.py index 29164c23..21e4f30c 100644 --- a/src/pylorax/api/compose.py +++ b/src/pylorax/api/compose.py @@ -572,13 +572,11 @@ def compose_args(compose_type): "make_tar": False, "make_pxe_live": False, "make_ostree_live": False, - "make_oci": False, - "make_vagrant": False, "ostree": False, "live_rootfs_keep_size": False, "live_rootfs_size": 0, - "image_type": "vpc", - "qemu_args": ["-o", "subformat=fixed,force_size"], + "qcow2": True, + "qcow2_args": ["-O", "vpc", "-o", "subformat=fixed"], "image_name": "disk.vhd", "fs_label": "", "image_only": True,