Skip to content

Commit

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

Expand All @@ -18,7 +18,6 @@
manager_index = manager_list.index(node.name)
ipaddress_sync = node["ipaddress_sync"]


%>

Cluster: <%= (( @cluster_info.size == 1 ) ? "1 member" : "#{@cluster_info.size} members") unless @cluster_info.nil? %>
Expand Down

0 comments on commit fb068f3

Please sign in to comment.