mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-10-26 08:41:46 +01:00
oh, so THAT'S how you rst
This commit is contained in:
parent
2d9c613f01
commit
e7de57e75a
@ -50,8 +50,8 @@ This section shows how to statically map an IP address to a hostname for local
|
|||||||
`/etc/hosts` file entries.
|
`/etc/hosts` file entries.
|
||||||
|
|
||||||
.. note:: Do *not* manually edit `/etc/hosts`. This file will automatically be
|
.. note:: Do *not* manually edit `/etc/hosts`. This file will automatically be
|
||||||
regenerated on boot based on the settings in this section, which means you'll
|
regenerated on boot based on the settings in this section, which means you'll
|
||||||
lose all your manual edits. Instead, configure static host mappings, as follows.
|
lose all your manual edits. Instead, configure static host mappings, as follows.
|
||||||
|
|
||||||
.. cfgcmd:: set system static-host-mapping host-name <hostname> inet <address>
|
.. cfgcmd:: set system static-host-mapping host-name <hostname> inet <address>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user