diff options
author | Christian Poessinger <christian@poessinger.com> | 2019-02-16 15:36:34 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-05-20 06:11:19 +0200 |
commit | 4ad1c3672fab3e08712fe40e695f861b2ccfd28c (patch) | |
tree | 7048e9ab51c2d0d06c377712f9d475a002314a87 /src/conf_mode/host_name.py | |
parent | 8bd504636bb978c2fdeda088e81b5e9a897a34d7 (diff) | |
download | vyos-1x-4ad1c3672fab3e08712fe40e695f861b2ccfd28c.tar.gz vyos-1x-4ad1c3672fab3e08712fe40e695f861b2ccfd28c.zip |
Add header to resolver configuration file
Diffstat (limited to 'src/conf_mode/host_name.py')
-rwxr-xr-x | src/conf_mode/host_name.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/host_name.py b/src/conf_mode/host_name.py index 0f8d3b719..8ad6000be 100755 --- a/src/conf_mode/host_name.py +++ b/src/conf_mode/host_name.py @@ -35,6 +35,7 @@ config_file_hosts = '/etc/hosts' config_file_resolv = '/etc/resolv.conf' config_tmpl_hosts = """ +### Autogenerated by host_name.py ### 127.0.0.1 localhost {{ hostname }}{% if domain_name %}.{{ domain_name }}{% endif %} # The following lines are desirable for IPv6 capable hosts |