jails-management/templates/pf.erb

13 lines
401 B
Plaintext
Raw Normal View History

2015-01-22 16:02:51 +00:00
# THIS FILE WAS GENERATED, CHANGES WILL BE OVERWRITTEN
<% jails.each do |jail| -%>
2015-01-22 16:02:51 +00:00
<%= jail.name %>_ip4="{<%= jail.ip4.join(", ") -%>}"
<% jail.ip4.each_with_index do |ip, idx| -%>
<%= jail.name %>_ip4_<%= idx %>="<%= ip %>"
2015-01-22 16:02:51 +00:00
<% end -%>
2015-01-22 16:02:51 +00:00
<%= jail.name %>_ip6="{<%= jail.ip6.join(", ") -%>}"
<% jail.ip6.each_with_index do |ip, idx| -%>
<%= jail.name %>_ip6_<%= idx %>="<%= ip %>"
2015-01-22 16:02:51 +00:00
<% end -%>
<% end -%>