Skip to content

Commit

Permalink
Fix Installed on
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Feb 1, 2024
1 parent fb068f3 commit b2fe4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/templates/default/motd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<% if node['ipaddress'] != ipaddress_sync %>
IP sync : <%= ipaddress_sync %> (<%= node['mac_sync'].nil? ? "" : node['mac_sync'] %>)
<%end %>
Installed on: <% inst = `rpm -q basesystem --qf '%{installtime:date}\n'` ; inst = inst.gsub("\n","") %><%= inst %>
Installed on: <%= node["redborder"]["install_date"] if node["redborder"] %>
Last check: <%= Time.at(node[:ohai_time]).strftime('%a %b %d %H:%M:%S %Z %Y') %>
<% if !@uuid.nil? %>
Cluster UUID: <%= @uuid %>
Expand Down

0 comments on commit b2fe4a5

Please sign in to comment.