mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 06:21:15 +02:00
Checks if IOS image exist at startup and not during node creation. Fixes #240.
This commit is contained in:
1 parent
3b3929803b
commit
be85d95ff7
3 files changed
+9
-13
No files matched your search
@@ -462,9 +462,6 @@ class Router(BaseVM):
|
||||
|
||||
image = self.manager.get_abs_image_path(image)
|
||||
|
||||
if not os.path.isfile(image):
|
||||
raise DynamipsError("IOS image '{}' is not accessible".format(image))
|
||||
|
||||
yield from self._hypervisor.send('vm set_ios "{name}" "{image}"'.format(name=self._name, image=image))
|
||||
|
||||
log.info('Router "{name}" [{id}]: has a new IOS image set: "{image}"'.format(name=self._name,
|
||||
|
||||
Reference in new issue
Block a user