create network role and include it into base (only openbsd does something)
This commit is contained in:
parent
ba0c70532f
commit
dd19c94511
9 changed files with 101 additions and 0 deletions
6
roles/network/templates/resolv.conf.j2
Normal file
6
roles/network/templates/resolv.conf.j2
Normal file
|
@ -0,0 +1,6 @@
|
|||
{% if network_dns_search is defined %}
|
||||
search {{ network_dns_search|join(' ') }}
|
||||
{% endif %}
|
||||
{% for addr in network_dns_servers %}
|
||||
nameserver {{ addr }}
|
||||
{% endfor %}
|
Loading…
Add table
Add a link
Reference in a new issue