mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
QEMU config disk - use disk interface of HD-D, fallback is HD-A
(cherry picked from commit b672900406
)
This commit is contained in:
parent
347035a99b
commit
750590d0db
@ -1841,7 +1841,9 @@ class QemuVM(BaseNode):
|
||||
else:
|
||||
disk_name = getattr(self, "config_disk_name")
|
||||
disk = os.path.join(self.working_dir, disk_name)
|
||||
interface = getattr(self, "hda_disk_interface", "ide")
|
||||
interface = getattr(self, "hdd_disk_interface", "ide")
|
||||
if interface == "ide":
|
||||
interface = getattr(self, "hda_disk_interface", "none")
|
||||
await self._import_config()
|
||||
if not os.path.exists(disk):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user