def _listVirtualBoxVMsSlot(self): """ Slot to refresh the VirtualBox VMs list. """ self.uiVmwareRadioButton.setChecked(False) from gns3.modules import VirtualBox settings = VirtualBox.instance().settings() if not os.path.exists(settings["vboxmanage_path"]): QtWidgets.QMessageBox.critical(self, "VirtualBox", "VBoxManage could not be found, VirtualBox is probably not installed") return self._refreshVMListSlot()
def _listVirtualBoxVMsSlot(self): """ Slot to refresh the VirtualBox VMs list. """ download_url = "https://github.com/GNS3/gns3-gui/releases/download/v{version}/GNS3.VM.VirtualBox.{version}.zip".format(version=__version__) self.uiGNS3VMDownloadLinkUrlLabel.setText('If you don\'t have the GNS3 Virtual Machine you can <a href="{download_url}">download it here</a>.<br>And import the VM in the virtualization software and hit refresh.'.format(download_url=download_url)) self.uiVmwareRadioButton.setChecked(False) from gns3.modules import VirtualBox settings = VirtualBox.instance().settings() if not os.path.exists(settings["vboxmanage_path"]): QtWidgets.QMessageBox.critical(self, "VirtualBox", "VBoxManage could not be found, VirtualBox is probably not installed. After installation you need to restart GNS3.") return self._refreshVMListSlot()
def _listVirtualBoxVMsSlot(self): """ Slot to refresh the VirtualBox VMs list. """ download_url = "https://github.com/GNS3/gns3-gui/releases/download/v{version}/GNS3.VM.VirtualBox.{version}.zip".format(version=__version__) self.uiGNS3VMDownloadLinkUrlLabel.setText('If you don\'t have the GNS3 Virtual Machine you can <a href="{download_url}">download it here</a>.<br>And import the VM in the virtualization software and hit refresh.'.format(download_url=download_url)) self.uiVmwareRadioButton.setChecked(False) from gns3.modules import VirtualBox settings = VirtualBox.instance().settings() if not os.path.exists(settings["vboxmanage_path"]): QtWidgets.QMessageBox.critical(self, "VirtualBox", "VBoxManage could not be found, VirtualBox is probably not installed") return self._refreshVMListSlot()
def _listVirtualBoxVMsSlot(self): """ Slot to refresh the VirtualBox VMs list. """ self.uiVmwareRadioButton.setChecked(False) from gns3.modules import VirtualBox settings = VirtualBox.instance().settings() if not os.path.exists(settings["vboxmanage_path"]): QtWidgets.QMessageBox.critical( self, "VirtualBox", "VBoxManage could not be found, VirtualBox is probably not installed" ) return self._refreshVMListSlot()