From 2cfac30810fc8bf03d2b6dbbad0eab99a01c8cd7 Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 17 Sep 2019 18:54:18 +0700 Subject: [PATCH] Fix single quote is not closed. Fixes #1654 --- gns3server/compute/qemu/qemu_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/qemu/qemu_vm.py b/gns3server/compute/qemu/qemu_vm.py index 6f94597c..52a979e3 100644 --- a/gns3server/compute/qemu/qemu_vm.py +++ b/gns3server/compute/qemu/qemu_vm.py @@ -1640,7 +1640,7 @@ class QemuVM(BaseNode): if interface == "sata": # special case, sata controller doesn't exist in Qemu - options.extend(["-device", 'ahci,id=ahci{}.format(disk_index)]) + options.extend(["-device", 'ahci,id=ahci{}'.format(disk_index)]) options.extend(["-drive", 'file={},if=none,id=drive{},index={},media=disk'.format(disk, disk_index, disk_index)]) options.extend(["-device", 'ide-drive,drive=drive{},bus=ahci{}.0,id=drive{}'.format(disk_index, disk_index, disk_index)])