From 7bba95c8052af5b0cc5908cb9e740caa01b44161 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 22 May 2024 17:52:42 +0100 Subject: rollback-soft: T6384: tell the user to compare or commit after applying the diff --- python/vyos/config_mgmt.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') diff --git a/python/vyos/config_mgmt.py b/python/vyos/config_mgmt.py index fc51d781c..70b6ea203 100644 --- a/python/vyos/config_mgmt.py +++ b/python/vyos/config_mgmt.py @@ -283,6 +283,8 @@ Proceed ?''' rollback_ct = self._get_config_tree_revision(rev) try: load(rollback_ct, switch='explicit') + print('Rollback diff has been applied.') + print('Use "compare" to review the changes or "commit" to apply them.') except LoadConfigError as e: raise ConfigMgmtError(e) from e -- cgit v1.2.3