From a7eb1e23502e2ac7a79ddab7dc152634b499d52c Mon Sep 17 00:00:00 2001 From: vimesa Date: Mon, 29 Jan 2024 14:05:56 +0000 Subject: [PATCH] Modify motd --- resources/templates/default/motd.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/templates/default/motd.erb b/resources/templates/default/motd.erb index c0f79426..6eb23bba 100644 --- a/resources/templates/default/motd.erb +++ b/resources/templates/default/motd.erb @@ -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? %> @@ -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"]