diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-05-22 17:52:42 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2024-05-22 17:52:42 +0100 |
commit | 7bba95c8052af5b0cc5908cb9e740caa01b44161 (patch) | |
tree | 3e066838a5b4a2869e28002036ed9298ea5c4777 /python/vyos | |
parent | 23a420194f4d0eb0177f05bd0a8c60e4f5214e54 (diff) | |
download | vyos-1x-7bba95c8052af5b0cc5908cb9e740caa01b44161.tar.gz vyos-1x-7bba95c8052af5b0cc5908cb9e740caa01b44161.zip |
rollback-soft: T6384: tell the user to compare or commit
after applying the diff
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/config_mgmt.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 |