mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-16 22:38:18 +00:00
Use compatible shlex_quote to handle case where Windows needs double quotes around file names, not single quotes. Ref https://github.com/GNS3/gns3-gui/issues/2866
This commit is contained in:
@ -806,7 +806,7 @@ class Router(BaseNode):
|
||||
"""
|
||||
|
||||
await self._hypervisor.send('vm set_ghost_file "{name}" {ghost_file}'.format(name=self._name,
|
||||
ghost_file=shlex.quote(ghost_file)))
|
||||
ghost_file=shlex.quote(ghost_file)))
|
||||
|
||||
log.info('Router "{name}" [{id}]: ghost file set to {ghost_file}'.format(name=self._name,
|
||||
id=self._id,
|
||||
|
Reference in New Issue
Block a user