mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
3 files changed
+72
-32
No files matched your search
@@ -65,6 +65,9 @@ class DockerVM(BaseVM):
|
||||
console_resolution="1024x768", console_http_port=80, console_http_path="/"):
|
||||
super().__init__(name, vm_id, project, manager, console=console, aux=aux, allocate_aux=True, console_type=console_type)
|
||||
|
||||
# If no version is specified force latest
|
||||
if ":" not in image:
|
||||
image = "{}:latest".format(image)
|
||||
self._image = image
|
||||
self._start_command = start_command
|
||||
self._environment = environment
|
||||
|
||||
Reference in new issue
Block a user