From b672900406e5ce10251cc1e231fee1d117ca3805 Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Wed, 17 Jun 2020 17:06:55 +0200 Subject: [PATCH] QEMU config disk - use disk interface of HD-D, fallback is HD-A --- gns3server/compute/qemu/qemu_vm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gns3server/compute/qemu/qemu_vm.py b/gns3server/compute/qemu/qemu_vm.py index f8ca6902..731e144c 100644 --- a/gns3server/compute/qemu/qemu_vm.py +++ b/gns3server/compute/qemu/qemu_vm.py @@ -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: