redo user management; add /etc/hosts

This commit is contained in:
root
2020-05-15 00:07:44 -04:00
parent 3aae5c63e3
commit 318b98e75e
10 changed files with 116 additions and 93 deletions

5
net/files/hosts.jinja Normal file
View File

@@ -0,0 +1,5 @@
127.0.0.1 localhost
::1 localhost
{% for ipaddr, names in salt.pillar.get('lan_hosts', {}).items() -%}
{{ ipaddr }} {{ names }}
{% endfor -%}