From c261413b41fe88d3bca1842c96b5dafa3eee5987 Mon Sep 17 00:00:00 2001 From: Cédric Jeanneret Date: Fri, 25 Feb 2011 14:39:10 +0100 Subject: dhcp/subnet.conf.erb - corrected template --- templates/subnet.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/subnet.conf.erb b/templates/subnet.conf.erb index 365c2f0..2333514 100644 --- a/templates/subnet.conf.erb +++ b/templates/subnet.conf.erb @@ -6,7 +6,7 @@ subnet <%=name%> netmask <%=netmask%> { subnet <%=name%> netmask <%=netmask_eth0%> { <% end -%> <% if routers and not routers.empty? -%> - option routers routers.collect! {|i| "#{i}" }.join(","); + option routers <%= routers.collect! {|i| "#{i}" }.join(",") %>; <% else -%> option routers <%=network_eth0%>; <% end -%> -- cgit v1.2.3