From 7291c8f8c35ad8cb7de256b6b7a7dabaa6be95ef Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 14 Dec 2018 14:31:29 -0800 Subject: [PATCH] Fix compose_args for vmdk 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 21e4f30c..25a59c04 100644 --- a/src/pylorax/api/compose.py +++ b/src/pylorax/api/compose.py @@ -592,13 +592,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": "vmdk", - "qemu_args": [], + "qcow2": True, + "qcow2_args": ["-O", "vmdk"], "image_name": "disk.vmdk", "fs_label": "", "image_only": True,