From 83b72d762c3ae0891cb06ce2cb0679b6286cd740 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Thu, 8 Sep 2016 16:00:32 +0200 Subject: [PATCH] Download link for the VM Ref https://github.com/GNS3/gns3-gui/issues/1489 --- gns3server/controller/gns3vm/__init__.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gns3server/controller/gns3vm/__init__.py b/gns3server/controller/gns3vm/__init__.py index 135cca1e..b6331b72 100644 --- a/gns3server/controller/gns3vm/__init__.py +++ b/gns3server/controller/gns3vm/__init__.py @@ -24,6 +24,7 @@ from .vmware_gns3_vm import VMwareGNS3VM from .virtualbox_gns3_vm import VirtualBoxGNS3VM from .remote_gns3_vm import RemoteGNS3VM from .gns3_vm_error import GNS3VMError +from ...version import __version__ import logging log = logging.getLogger(__name__) @@ -51,9 +52,11 @@ class GNS3VM: """ :returns: Return list of engines supported by GNS3 for the GNS3VM """ + + download_url = "https://github.com/GNS3/gns3-gui/releases/download/v{version}/GNS3.VM.VMware.Workstation.{version}.zip".format(version=__version__) vmware_informations = { "engine_id": "vmware", - "description": "VMware is the recommended choice for best performances.", + "description": 'VMware is the recommended choice for best performances.
The GNS3 VM can be downloaded here.'.format(download_url), "support_when_exit": True, "support_headless": True } @@ -62,10 +65,11 @@ class GNS3VM: else: vmware_informations["name"] = "VMware Workstation / Player" + download_url = "https://github.com/GNS3/gns3-gui/releases/download/v{version}/GNS3.VM.VirtualBox.{version}.zip".format(version=__version__) virtualbox_informations = { "engine_id": "virtualbox", "name": "VirtualBox", - "description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.", + "description": 'VirtualBox doesn\'t support nested virtualization, this means running Qemu based VM could be very slow.
The GNS3 VM can be downloaded here'.format(download_url), "support_when_exit": True, "support_headless": True }