summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/vyos/config_mgmt.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/config_mgmt.py b/python/vyos/config_mgmt.py
index 851ac2134..1c2b70fdf 100644
--- a/python/vyos/config_mgmt.py
+++ b/python/vyos/config_mgmt.py
@@ -289,6 +289,9 @@ Proceed ?"""
# confirmed, hence a soft revert is to revision 0
revert_ct = self._get_config_tree_revision(0)
+ message = '[commit-confirm] Reverting to previous config now'
+ os.system('wall -n ' + message)
+
mask = os.umask(0o002)
session = ConfigSession(os.getpid(), app='config-mgmt')