livemedia-creator: Allow novirt ostree partitioned images (#1273199)
A --no-virt --make-ostree-live build uses a partitioned disk image.
This commit is contained in:
parent
b77506cb50
commit
3338de31f3
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user