diff --git a/napalm/eos/eos.py b/napalm/eos/eos.py index 52db5463b..381e2c4d9 100644 --- a/napalm/eos/eos.py +++ b/napalm/eos/eos.py @@ -508,7 +508,7 @@ def commit_config(self, message="", revert_in=None): raise CommitError("Pending commit confirm already in process!") commands = [ - "copy startup-config flash:rollback-0", + "copy running-config flash:rollback-0", "configure session {} commit timer {}".format( self.config_session, time.strftime("%H:%M:%S", time.gmtime(revert_in)), @@ -517,7 +517,7 @@ def commit_config(self, message="", revert_in=None): self._run_commands(commands, encoding="text") else: commands = [ - "copy startup-config flash:rollback-0", + "copy running-config flash:rollback-0", "configure session {} commit".format(self.config_session), "write memory", ]