mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Return the working directory of a Qemu VM
This commit is contained in:
1 parent
d9745644cd
commit
2b36746d52
3 files changed
+8
-2
No files matched your search
@@ -1229,7 +1229,8 @@ class QemuVM(BaseVM):
|
||||
def __json__(self):
|
||||
answer = {
|
||||
"project_id": self.project.id,
|
||||
"vm_id": self.id
|
||||
"vm_id": self.id,
|
||||
"vm_directory": self.working_dir
|
||||
}
|
||||
# Qemu has a long list of options. The JSON schema is the single source of information
|
||||
for field in QEMU_OBJECT_SCHEMA["required"]:
|
||||
|
||||
Reference in new issue
Block a user