mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-18 15:28:11 +00:00
Pass *args to VM_CLASS.
Move Config the the base manager. More checks for projects (UUID, makedirs). Return error 500 when a VMError exception is raised. Some more progress to VirtualBox.
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
"""
|
||||
VPCS vm management (creates command line, processes, files etc.) in
|
||||
VPCS VM management (creates command line, processes, files etc.) in
|
||||
order to run an VPCS instance.
|
||||
"""
|
||||
|
||||
@ -59,7 +59,7 @@ class VPCSVM(BaseVM):
|
||||
|
||||
super().__init__(name, uuid, project, manager)
|
||||
|
||||
self._path = self._config.get_section_config("VPCS").get("path", "vpcs")
|
||||
self._path = manager.config.get_section_config("VPCS").get("path", "vpcs")
|
||||
|
||||
self._console = console
|
||||
|
||||
|
Reference in New Issue
Block a user