From 4229d744389a772d5819ba8f90934ad543e80f79 Mon Sep 17 00:00:00 2001 From: Cédric Jeanneret Date: Fri, 25 Feb 2011 16:05:00 +0100 Subject: dhcp/subnet.conf.erb - corrected template one more/last time --- templates/subnet.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/subnet.conf.erb b/templates/subnet.conf.erb index 2333514..95b0660 100644 --- a/templates/subnet.conf.erb +++ b/templates/subnet.conf.erb @@ -25,7 +25,7 @@ subnet <%=name%> netmask <%=netmask_eth0%> { <% end -%> <% if other_opts and not other_opts.empty? -%> <% if other_opts.is_a?(Array) -%> - <%= other_opts.join(";\n") %> +<%= other_opts.collect! {|i| " #{i};"}.join("\n") %> <% else -%> <%=other_opts%>; <% end -%> -- cgit v1.2.3