docs: remove superfluous "vyos@vyos" prompt

This commit is contained in:
Christian Poessinger 2019-11-28 21:35:50 +01:00
parent a71cdcec33
commit 03eaf80e6f
4 changed files with 1 additions and 46 deletions

View File

@ -259,8 +259,6 @@ Exiting from a configuration level:
[edit interfaces ethernet eth0] [edit interfaces ethernet eth0]
vyos@vyos# exit vyos@vyos# exit
[edit]
vyos@vyos#
Exiting from configuration mode: Exiting from configuration mode:
@ -285,8 +283,6 @@ Error message when trying to exit with uncommitted changes:
vyos@vyos# exit vyos@vyos# exit
Cannot exit: configuration modified. Cannot exit: configuration modified.
Use 'exit discard' to discard the changes and exit. Use 'exit discard' to discard the changes and exit.
[edit]
vyos@vyos#
Warning message when exiting with unsaved changes: Warning message when exiting with unsaved changes:
@ -296,8 +292,6 @@ Warning message when exiting with unsaved changes:
[edit] [edit]
vyos@vyos# exit vyos@vyos# exit
Warning: configuration changes have not been saved. Warning: configuration changes have not been saved.
exit
vyos@vyos:~$
Load Load
^^^^ ^^^^
@ -358,8 +352,6 @@ In the example below exist a ``default-firewall.config`` file with some common f
Loading configuration from '/config/default-firewall.config'... Loading configuration from '/config/default-firewall.config'...
Merge complete. Use 'commit' to make changes active. Merge complete. Use 'commit' to make changes active.
[edit]
vyos@vyos#
vyos@vyos# show firewall vyos@vyos# show firewall
+all-ping enable +all-ping enable
@ -418,7 +410,6 @@ See here how to move the configuration entrys from vlanid 3 to 2
- address 10.4.4.4/32 - address 10.4.4.4/32
-} -}
[edit interfaces ethernet eth1] [edit interfaces ethernet eth1]
vyos@vyos#
Rollback Rollback
@ -439,8 +430,6 @@ Use the compare command to verify the configuration you want to rollback to.
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2018): Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2018):
The system is going down for reboot NOW! The system is going down for reboot NOW!
[edit]
vyos@vyos#
Run Run
^^^ ^^^

View File

@ -60,8 +60,6 @@ Results
lo 127.0.0.1/8 u/u lo 127.0.0.1/8 u/u
192.168.0.1/32 192.168.0.1/32
::1/128 ::1/128
vyos@vyos:~$
.. code-block:: console .. code-block:: console
@ -82,8 +80,6 @@ Results
C>* 192.168.0.1/32 is directly connected, lo, 00:57:36 C>* 192.168.0.1/32 is directly connected, lo, 00:57:36
O>* 192.168.0.2/32 [110/1] via 192.168.0.2, eth1 onlink, 00:29:03 O>* 192.168.0.2/32 [110/1] via 192.168.0.2, eth1 onlink, 00:29:03
* via 192.168.0.2, eth2 onlink, 00:29:03 * via 192.168.0.2, eth2 onlink, 00:29:03
vyos@vyos:~$
- Router B: - Router B:
@ -99,8 +95,6 @@ Results
lo 127.0.0.1/8 u/u lo 127.0.0.1/8 u/u
192.168.0.2/32 192.168.0.2/32
::1/128 ::1/128
vyos@vyos:~$
.. code-block:: console .. code-block:: console
@ -121,5 +115,3 @@ Results
C>* 192.168.0.2/32 is directly connected, lo, 00:57:36 C>* 192.168.0.2/32 is directly connected, lo, 00:57:36
O>* 192.168.0.1/32 [110/1] via 192.168.0.1, eth1 onlink, 00:29:03 O>* 192.168.0.1/32 [110/1] via 192.168.0.1, eth1 onlink, 00:29:03
* via 192.168.0.1, eth2 onlink, 00:29:03 * via 192.168.0.1, eth2 onlink, 00:29:03
vyos@vyos:~$

View File

@ -63,7 +63,6 @@ using the show configuration command.
} }
} }
} }
vyos@vyos:~$
By default the configuration is displayed in a hierarchy like the example above, By default the configuration is displayed in a hierarchy like the example above,
this is only one of the possible ways to display the configuration. When the this is only one of the possible ways to display the configuration. When the
@ -191,8 +190,6 @@ replacements and ``-`` for deletions.
} }
loopback lo { loopback lo {
} }
[edit]
vyos@vyos#
It is also possible to display all `set` commands within configuration mode It is also possible to display all `set` commands within configuration mode
using ``show | commands`` using ``show | commands``
@ -224,8 +221,6 @@ level.
[edit] [edit]
vyos@vyos# exit vyos@vyos# exit
Warning: configuration changes have not been saved. Warning: configuration changes have not been saved.
vyos@vyos:~$
Managing Managing
======== ========
@ -280,9 +275,6 @@ configuration mode.
vyos@vyos# save vyos@vyos# save
Saving configuration to '/config/config.boot'... Saving configuration to '/config/config.boot'...
Done Done
[edit]
vyos@vyos#
Configuration mode can not be exited while uncommitted changes exist. To exit Configuration mode can not be exited while uncommitted changes exist. To exit
configuration mode without applying changes, the exit discard command can be configuration mode without applying changes, the exit discard command can be
@ -295,8 +287,6 @@ used.
Use 'exit discard' to discard the changes and exit. Use 'exit discard' to discard the changes and exit.
[edit] [edit]
vyos@vyos# exit discard vyos@vyos# exit discard
exit
vyos@vyos:~$
.. code-block:: console .. code-block:: console
@ -333,7 +323,6 @@ Command completion and syntax help with ``?`` and ``[tab]`` will also work.
--------- ---------- --- ----------- --------- ---------- --- -----------
eth0 0.0.0.0/0 u/u eth0 0.0.0.0/0 u/u
Archive Archive
======= =======
@ -383,9 +372,6 @@ command:
9 2013-12-12 15:42:07 root by boot-config-loader 9 2013-12-12 15:42:07 root by boot-config-loader
10 2013-12-12 15:42:06 root by init 10 2013-12-12 15:42:06 root by init
[edit]
vyos@vyos#
Comparing Revisions Comparing Revisions
^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
@ -426,8 +412,6 @@ apply the selected revision and trigger a system reboot.
Proceed with reboot? [confirm][y] Proceed with reboot? [confirm][y]
Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2013): Broadcast message from root@vyos-1 (pts/0) (Tue Dec 17 21:07:45 2013):
The system is going down for reboot NOW! The system is going down for reboot NOW!
[edit]
vyos@vyos#
Configuring the archive size Configuring the archive size
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@ -464,7 +448,6 @@ default one, you can enter the following command in configuration mode:
load /opt/vyatta/etc/config.boot.default load /opt/vyatta/etc/config.boot.default
You will be asked if you want to continue. If you accept, you will have to use You will be asked if you want to continue. If you accept, you will have to use
``commit`` if you want to make the changes active.
Then you may want to ``save`` in order to delete the saved configuration too. Then you may want to ``save`` in order to delete the saved configuration too.

View File

@ -181,9 +181,6 @@ To login to the system, use the default username and password will be: ``vyos``
permitted by applicable law. permitted by applicable law.
vyos@vyos:~$ vyos@vyos:~$
vyos@vyos:~$ uname -a
Linux vyos 4.19.79-amd64-vyos #23 SMP Mon Oct 1 17:29:22 CEST 2018 x86_64 GNU/Linux
Unlike general purpose Linux distributions, VyOS uses "image installation" that Unlike general purpose Linux distributions, VyOS uses "image installation" that
mimics the user experience of traditional hardware routers and allows keeping mimics the user experience of traditional hardware routers and allows keeping
multiple VyOS versions installed simultaneously. This makes it possible to multiple VyOS versions installed simultaneously. This makes it possible to
@ -253,7 +250,6 @@ the provided default credentials.
Setting up grub: OK Setting up grub: OK
Done! Done!
vyos@vyos:~$
After the installation is complete, remove the Live CD and reboot the system: After the installation is complete, remove the Live CD and reboot the system:
@ -262,7 +258,6 @@ After the installation is complete, remove the Live CD and reboot the system:
vyos@vyos:~$ reboot vyos@vyos:~$ reboot
Proceed with reboot? (Yes/No) [No] Yes Proceed with reboot? (Yes/No) [No] Yes
.. _PXE Install: .. _PXE Install:
PXE Install PXE Install
@ -307,8 +302,6 @@ In this example we configured an existent VyOS as the DHCP server:
} }
} }
} }
[edit]
vyos@vyos#
.. _tftp-server: .. _tftp-server:
@ -339,8 +332,6 @@ In the example we configured our existent VyOS as the TFTP server too:
vyos@vyos# show service tftp-server vyos@vyos# show service tftp-server
directory /config/tftpboot directory /config/tftpboot
listen-address 192.168.1.50 listen-address 192.168.1.50
[edit]
vyos@vyos#
Example of the contents of the TFTP server: Example of the contents of the TFTP server: