diff --git a/gns3server/modules/iou/iou_vm.py b/gns3server/modules/iou/iou_vm.py index 502becc1..7e2a9b19 100644 --- a/gns3server/modules/iou/iou_vm.py +++ b/gns3server/modules/iou/iou_vm.py @@ -959,7 +959,7 @@ class IOUVM(BaseVM): initial_config = initial_config.replace("%h", self._name) f.write(initial_config) except OSError as e: - raise IOUError("Can't write initial configuration file '{}'".format(self.script_file)) + raise IOUError("Can't write initial configuration file '{}'".format(script_file)) @property def initial_config_file(self):