Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

Commit 7e40455

Browse files
committed
Guest: skip post install disk check if using non-raw format
1 parent 071e92f commit 7e40455

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

virtinst/Installer.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,15 @@ def post_install_check(self, guest):
337337
or guest.disks[0].device != VirtualDisk.DEVICE_DISK:
338338
return True
339339

340-
if _util.is_vdisk(guest.disks[0].path):
340+
disk = guest.disks[0]
341+
342+
if _util.is_vdisk(disk.path):
343+
return True
344+
345+
if (disk.driver_type and
346+
disk.driver_type not in [disk.DRIVER_TYPE_AIO,
347+
disk.DRIVER_TYPE_QEMU]):
348+
# Might be a non-raw format
341349
return True
342350

343351
# Check for the 0xaa55 signature at the end of the MBR

0 commit comments

Comments
 (0)