Commit 02f8e3c3 by Guba Sándor

add more format to check_type

parent 0377dff6
......@@ -128,7 +128,8 @@ class Disk(object):
Set the proper type for valid images."""
format_map = [
("qcow", "qcow2-norm"),
("iso", "iso")
("iso", "iso"),
("x86 boot sector", "iso")
]
with magic.Magic() as m:
ftype = m.id_filename(self.get_path())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment