Skip to content

Commit

Permalink
[sous-chefsGH-27] Added support for sortlist resolv.conf option.
Browse files Browse the repository at this point in the history
  • Loading branch information
Punicaa committed Jan 26, 2024
1 parent a16432a commit 30efddf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/default/resolv.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ domain <%= @domain %>
<% unless nil_or_empty?(@search) -%>
search <%= @search.join(' ') %>
<% end -%>
<% unless nil_or_empty?(@sortlist) -%>
sortlist <%= @sortlist.join(' ') %>
<% end -%>
<% @nameservers.each do |nameserver| -%>
nameserver <%= nameserver %>
<% end %>
Expand Down

0 comments on commit 30efddf

Please sign in to comment.