hvm: fix drive option parse
This commit is contained in:
parent
ab094a623a
commit
17e0a62a10
@ -153,7 +153,7 @@ class QubesHVm(QubesVm):
|
|||||||
drv_type = drv_type.lower()
|
drv_type = drv_type.lower()
|
||||||
|
|
||||||
# sanity check
|
# sanity check
|
||||||
if type not in ['hd', 'cdrom']:
|
if drv_type not in ['hd', 'cdrom']:
|
||||||
raise QubesException("Unsupported drive type: %s" % type)
|
raise QubesException("Unsupported drive type: %s" % type)
|
||||||
|
|
||||||
if value.count(":") == 0:
|
if value.count(":") == 0:
|
||||||
|
Loading…
Reference in New Issue
Block a user