mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Remove Qemu binary requirement
This commit is contained in:
1 parent
2ee9232ac5
commit
2535e5508d
6 files changed
+27
-95
No files matched your search
@@ -95,10 +95,8 @@ class ApplianceToTemplate:
|
||||
new_config["options"] = options.strip()
|
||||
new_config.update(version.get("images"))
|
||||
|
||||
if "path" in appliance_config["qemu"]:
|
||||
new_config["qemu_path"] = appliance_config["qemu"]["path"]
|
||||
else:
|
||||
new_config["qemu_path"] = "qemu-system-{}".format(appliance_config["qemu"]["arch"])
|
||||
if "arch" in appliance_config["qemu"]:
|
||||
new_config["platform"] = appliance_config["qemu"]["arch"]
|
||||
|
||||
if "first_port_name" in appliance_config:
|
||||
new_config["first_port_name"] = appliance_config["first_port_name"]
|
||||
|
||||
Reference in new issue
Block a user