diff --git a/templates/ipmi/etc/default/ipmievd.erb b/templates/ipmi/etc/default/ipmievd.erb index 0980c0f820cb0ea034025759bb339d2344899b46..448a62425d2d40bfd0a97c84e2168b18b25e452c 100644 --- a/templates/ipmi/etc/default/ipmievd.erb +++ b/templates/ipmi/etc/default/ipmievd.erb @@ -1,4 +1,7 @@ ENABLED=true -<% if @lsbdistcodename == 'jessie' -%> + +<% if ((@operatingsystem == 'Debian' and @lsbmajdistrelease >= 8) \ + or (@operatingsystem == 'Ubuntu' and @lsbmajdistrelease.split('.')[0].to_i >= 14)) +%> IPMIEVD_OPTIONS="open daemon" <% end -%>