mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Remove console_host from IOU and Qemu handlers.
This commit is contained in:
parent
3472f19519
commit
6e89f2c7c7
@ -56,7 +56,6 @@ class IOUHandler:
|
||||
request.match_info["project_id"],
|
||||
request.json.get("vm_id"),
|
||||
console=request.json.get("console"),
|
||||
console_host=PortManager.instance().console_host,
|
||||
serial_adapters=request.json.get("serial_adapters"),
|
||||
ethernet_adapters=request.json.get("ethernet_adapters"),
|
||||
ram=request.json.get("ram"),
|
||||
|
@ -19,7 +19,6 @@ import os
|
||||
|
||||
|
||||
from ...web.route import Route
|
||||
from ...modules.port_manager import PortManager
|
||||
from ...schemas.qemu import QEMU_CREATE_SCHEMA
|
||||
from ...schemas.qemu import QEMU_UPDATE_SCHEMA
|
||||
from ...schemas.qemu import QEMU_OBJECT_SCHEMA
|
||||
@ -57,8 +56,6 @@ class QEMUHandler:
|
||||
qemu_path=request.json.get("qemu_path"),
|
||||
console=request.json.get("console"),
|
||||
monitor=request.json.get("monitor"),
|
||||
console_host=PortManager.instance().console_host,
|
||||
monitor_host=PortManager.instance().console_host,
|
||||
)
|
||||
# Clear already used keys
|
||||
map(request.json.__delitem__, ["name", "project_id", "vm_id",
|
||||
|
Loading…
Reference in New Issue
Block a user