aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/subnet.conf.erb2
1 files changed, 1 insertions, 1 deletions
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 -%>