1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 17:28:08 +00:00

Fixes initial-config not loading for IOU L2.

This commit is contained in:
Jeremy 2015-03-23 12:30:27 -06:00
parent cde5c3d994
commit b5aabd4cc5

View File

@ -726,7 +726,7 @@ class IOUVM(BaseVM):
initial_config_file = self.initial_config_file initial_config_file = self.initial_config_file
if initial_config_file: if initial_config_file:
command.extend(["-c", initial_config_file]) command.extend(["-c", os.path.basename(initial_config_file)])
if self._l1_keepalives: if self._l1_keepalives:
yield from self._enable_l1_keepalives(command) yield from self._enable_l1_keepalives(command)
command.extend([str(self.application_id)]) command.extend([str(self.application_id)])