dom0/qvm-start: fix --cdrom support.

This commit is contained in:
Marek Marczykowski 2012-04-22 23:56:04 +02:00
parent 19d10d3829
commit 07314a5db0

View File

@ -71,7 +71,7 @@ def main():
options.drive = 'hd:' + options.drive_hd
if options.drive_cdrom:
options.drive = 'cdrom:' + options.drive_hd
options.drive = 'cdrom:' + options.drive_cdrom
if options.drive:
if hasattr(vm, 'drive'):