From 76fb0d714da0c479e69398d854001b507ff28338 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 31 Mar 2013 21:32:25 -0300 Subject: Changing behavior of dhclient supersede_domain param --- templates/dhcp/dhclient.conf.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/dhcp') diff --git a/templates/dhcp/dhclient.conf.erb b/templates/dhcp/dhclient.conf.erb index 134bf9a..52b704c 100644 --- a/templates/dhcp/dhclient.conf.erb +++ b/templates/dhcp/dhclient.conf.erb @@ -20,8 +20,8 @@ option rfc3442-classless-static-routes code 121 = array of unsigned integer 8; <%- if supersede_domain != '' then -%> # Force a domain name, otherwise facter and other configurations might break. -supersede domain-name "<%= domain %>"; -supersede domain-search "<%= domain %>"; +supersede domain-name "<%= supersede_domain %>"; +supersede domain-search "<%= supersede_domain %>"; <%- end -%> request subnet-mask, broadcast-address, time-offset, routers, -- cgit v1.2.3