mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-30 21:03:49 +02:00
Fixes ghost file path.
This commit is contained in:
parent
610dee957d
commit
3d1363150e
@ -435,7 +435,7 @@ class Dynamips(BaseManager):
|
|||||||
except DynamipsError as e:
|
except DynamipsError as e:
|
||||||
log.warn("Could not create ghost instance: {}".format(e))
|
log.warn("Could not create ghost instance: {}".format(e))
|
||||||
|
|
||||||
if vm.ghost_file != ghost_file and os.path.isfile(ghost_file):
|
if vm.ghost_file != ghost_file and os.path.isfile(ghost_file_path):
|
||||||
# set the ghost file to the router
|
# set the ghost file to the router
|
||||||
yield from vm.set_ghost_status(2)
|
yield from vm.set_ghost_status(2)
|
||||||
yield from vm.set_ghost_file(ghost_file)
|
yield from vm.set_ghost_file(ghost_file)
|
||||||
|
Loading…
Reference in New Issue
Block a user