Brand the Login Banner on a Commissioned System¶
You can customize the pre-login message (issue) and post-login MOTD on an installed and commissioned StarlingX cluster, simplifying propagation of the customized files.
About this task
The following files can be customized to use this feature:
console login banner
ssh login banner
message of the day header
message of the day footer
This file is not present by default. You must first create it to apply your customizations.
issue and issue.net are free standing files. /etc/motd is generated from the following sources in the order presented:
Complete the following procedure to customize the login banner on a commissioned system:
Log in to the active controller.
Switch to root user.
$ sudo bash #
Provide any of the customized banner files in a directory of your choosing. This example uses /opt/banner:
See the issue and motd man pages for details on file syntax.
Apply the customization using apply_banner_customization.
# apply_banner_customization <pathToModifiedFiles>
# apply_banner_customization /opt/banner
The default path, if no parameter is specified, is the current working directory.
The banners are applied to the configuration and installed on the current node, active controller.
Lock and unlock other nodes in the cluster, either from the CLI or the GUI, to install the customization on each node.
~(keystone_admin)]$ system host-lock worker-0 ~(keystone_admin)]$ system host-unlock worker-0
All subsequently added nodes will automatically inherit the banner customizations.