Commit efe85c9d by Matjaz Gregoric

Use default interface name in dhclient.conf.

Instead of hardcoding to eth0.
parent 9a3dcf59
......@@ -56,7 +56,7 @@ request subnet-mask, broadcast-address, time-offset, routers,
# expire 2 2000/1/12 00:00:01;
#}
interface "eth0" {
interface "{{ ansible_default_ipv4.interface }}" {
prepend domain-search {% for search in COMMON_DHCLIENT_DNS_SEARCH -%}"{{ search }}"{%- if not loop.last -%},{%- endif -%}
{%- endfor -%};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment