@@ -662,10 +662,22 @@ different levels in the hierarchy.
662
662
.. cfgcmd :: commit-confirm <minutes>
663
663
664
664
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.
668
668
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.
669
681
670
682
What if you are doing something dangerous? Suppose you want to setup
671
683
a firewall, and you are not sure there are no mistakes that will lock
@@ -684,12 +696,6 @@ different levels in the hierarchy.
684
696
vyos@router# confirm
685
697
[edit]
686
698
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
-
693
699
.. cfgcmd :: copy
694
700
695
701
Copy a configuration element.
0 commit comments