From 3338de31f3ef0b2be60ec75601fa7b93bb491cca Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Wed, 28 Oct 2015 14:44:24 -0700 Subject: [PATCH] livemedia-creator: Allow novirt ostree partitioned images (#1273199) A --no-virt --make-ostree-live build uses a partitioned disk image. --- src/sbin/livemedia-creator | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbin/livemedia-creator b/src/sbin/livemedia-creator index 9f44c670..32b562c4 100755 --- a/src/sbin/livemedia-creator +++ b/src/sbin/livemedia-creator @@ -1363,7 +1363,7 @@ def main(): work_dir = tempfile.mkdtemp() log.info("working dir is %s", work_dir) - if (opts.fs_image or opts.no_virt) and not opts.disk_image: + if opts.fs_image and not opts.disk_image: # Create pxe live images from a filesystem image disk_img = opts.fs_image or disk_img with Mount(disk_img, opts="loop") as mnt_dir: