diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/subnet.conf.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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 -%> |