mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
QEMU config disk - use disk interface of HD-D, fallback is HD-A
This commit is contained in:
parent
2e0fba925b
commit
b672900406
@ -1819,7 +1819,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