Skip to content

Commit a265a20

Browse files
committed
config-mgmt: T5976: update commit-confirm description for option reload
1 parent fa37004 commit a265a20

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/cli.rst

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -662,10 +662,22 @@ different levels in the hierarchy.
662662
.. cfgcmd:: commit-confirm <minutes>
663663

664664
Use this command to temporarily commit your changes and set the
665-
number of minutes available for validation. ``confirm`` must
666-
be entered within those minutes, otherwise the system will reboot
667-
into the previous configuration. The default value is 10 minutes.
665+
number of minutes available for confirmation. ``confirm`` must
666+
be entered within those minutes, otherwise the system will revert
667+
into a previous configuration. The default value is 10 minutes.
668668

669+
The definition of 'revert' and 'a previous configuration' depends on
670+
the setting:
671+
672+
.. code-block:: none
673+
674+
vyos@vyos# set system config-management commit-confirm
675+
Possible completions:
676+
reload Reload previous configuration if not confirmed
677+
reboot Reboot to saved configuration if not confirmed (default)
678+
679+
Note that 'reload' loads the most recent completed configuration and does
680+
not require a reboot.
669681

670682
What if you are doing something dangerous? Suppose you want to setup
671683
a firewall, and you are not sure there are no mistakes that will lock
@@ -684,12 +696,6 @@ different levels in the hierarchy.
684696
vyos@router# confirm
685697
[edit]
686698
687-
688-
.. note:: A reboot because you did not enter ``confirm`` will not
689-
take you necessarily to the *saved configuration*, but to the
690-
point before the unfortunate commit.
691-
692-
693699
.. cfgcmd:: copy
694700

695701
Copy a configuration element.

0 commit comments

Comments
 (0)