gns3-qemu-config - QEMU config disk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
904B

  1. From 2bd5bbdb986a3d321b99e0935352fe827140fcdc Mon Sep 17 00:00:00 2001
  2. From: Bernhard Ehlers <none@bernhard-ehlers.de>
  3. Date: Mon, 6 Apr 2020 13:42:00 +0200
  4. Subject: [PATCH] QEMU config disk - enable QEMU config import/export
  5. ---
  6. gns3/modules/qemu/qemu_vm.py | 7 +++++++
  7. 1 file changed, 7 insertions(+)
  8. diff --git a/gns3/modules/qemu/qemu_vm.py b/gns3/modules/qemu/qemu_vm.py
  9. index 4d1b069d..d9d067e8 100644
  10. --- a/gns3/modules/qemu/qemu_vm.py
  11. +++ b/gns3/modules/qemu/qemu_vm.py
  12. @@ -133,6 +133,13 @@ class QemuVM(Node):
  13. usage = "\n" + self._settings.get("usage")
  14. return info + port_info + usage
  15. + def configFiles(self):
  16. + """
  17. + Name of the configuration files
  18. + """
  19. +
  20. + return ["config.zip"]
  21. +
  22. def configPage(self):
  23. """
  24. Returns the configuration page widget to be used by the node properties dialog.
  25. --
  26. 2.15.1 (Apple Git-101)