mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
Merge pull request #1558 from jestabro/update-commit-confirm
config-mgmt: T5976: update commit-confirm description for option reload
This commit is contained in:
commit
f3246467c6
24
docs/cli.rst
24
docs/cli.rst
@ -662,10 +662,22 @@ different levels in the hierarchy.
|
|||||||
.. cfgcmd:: commit-confirm <minutes>
|
.. cfgcmd:: commit-confirm <minutes>
|
||||||
|
|
||||||
Use this command to temporarily commit your changes and set the
|
Use this command to temporarily commit your changes and set the
|
||||||
number of minutes available for validation. ``confirm`` must
|
number of minutes available for confirmation. ``confirm`` must
|
||||||
be entered within those minutes, otherwise the system will reboot
|
be entered within those minutes, otherwise the system will revert
|
||||||
into the previous configuration. The default value is 10 minutes.
|
into a previous configuration. The default value is 10 minutes.
|
||||||
|
|
||||||
|
The definition of 'revert' and 'a previous configuration' depends on
|
||||||
|
the setting:
|
||||||
|
|
||||||
|
.. code-block:: none
|
||||||
|
|
||||||
|
vyos@vyos# set system config-management commit-confirm
|
||||||
|
Possible completions:
|
||||||
|
reload Reload previous configuration if not confirmed
|
||||||
|
reboot Reboot to saved configuration if not confirmed (default)
|
||||||
|
|
||||||
|
Note that 'reload' loads the most recent completed configuration and does
|
||||||
|
not require a reboot.
|
||||||
|
|
||||||
What if you are doing something dangerous? Suppose you want to setup
|
What if you are doing something dangerous? Suppose you want to setup
|
||||||
a firewall, and you are not sure there are no mistakes that will lock
|
a firewall, and you are not sure there are no mistakes that will lock
|
||||||
@ -684,12 +696,6 @@ different levels in the hierarchy.
|
|||||||
vyos@router# confirm
|
vyos@router# confirm
|
||||||
[edit]
|
[edit]
|
||||||
|
|
||||||
|
|
||||||
.. note:: A reboot because you did not enter ``confirm`` will not
|
|
||||||
take you necessarily to the *saved configuration*, but to the
|
|
||||||
point before the unfortunate commit.
|
|
||||||
|
|
||||||
|
|
||||||
.. cfgcmd:: copy
|
.. cfgcmd:: copy
|
||||||
|
|
||||||
Copy a configuration element.
|
Copy a configuration element.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user