Skip to content

Commit

Permalink
Modify motd
Browse files Browse the repository at this point in the history
  • Loading branch information
ViMesTor committed Jan 29, 2024
1 parent e8f20a7 commit a7eb1e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/templates/default/motd.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Welcome to '<%= node["redborder"]["manager"]["cluster_name"] %>' redborder cluster:
<% else %>
Welcome to <%= node["hostname"] %>.<%= node["redborder"]["cdomain"] %> (<%= node['platform'] %> - <%= node['platform_version'] %>):
Kernel: <%= node['os'] %> - <%= node['os_version'].gsub("el9", "") %>
Kernel: <%= node['os_version'].gsub("el9", "") %>
<% end %>

<% if !node["redborder"].nil? and !node["redborder"]["rpms"].nil? %>
Expand Down Expand Up @@ -38,7 +38,7 @@
when "s3"
s = "minio"
when "snmp"
s = "redborder-snmp"
s = "snmpd"
end

if node["redborder"]["cluster"]["services"].select {|x| x["name"]==s}.first["ok"]
Expand Down

0 comments on commit a7eb1e2

Please sign in to comment.