How to modify the login banner in CoreOS
Issue
- How to modify the login banner when
ssh core@<nodename>.
$ ssh core@worker01.ocp4.example.local
Red Hat Enterprise Linux CoreOS 47.84.202110151631-0
Part of OpenShift 4.7, RHCOS is a Kubernetes native operating system
managed by the Machine Config Operator (`clusteroperator/machine-config`).
WARNING: Direct SSH access to machines is not recommended; instead,
make configuration changes via `machineconfig` objects:
https://docs.openshift.com/container-platform/4.7/architecture/architecture-rhcos.html
---
Last login: Mon Mar 7 02:09:18 2022 from 10.72.37.100
Environment
- OpenShift Container Platform 4.8(UPI)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.