/etc/hosts permanent

Hi,

How to modified permanently hosts file ? …

look at the documentation

use static hostname mapping , this will be saved in your configuration file and is persistent

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 lose all your manual edits. Instead, configure static host mappings as follows.

https://docs.vyos.io/en/sagitta/configuration/system/host-name.html

1 Like