From b2ce6057473d6c7749f017cd3a6308cb9b7a2192 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 (cherry picked from commit 7bba95c8052af5b0cc5908cb9e740caa01b44161) --- python/vyos/config_mgmt.py | 2 ++ 1 file changed, 2 insertions(+) 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