1
0
mirror of https://github.com/rancher/os.git synced 2025-08-29 19:44:22 +00:00

Disabled banner from SSH and updated boot banner

This commit is contained in:
Olli Janatuinen 2020-11-23 19:56:45 +02:00
parent 6e80223672
commit c25bb67fd2
2 changed files with 8 additions and 9 deletions

View File

@ -10,13 +10,12 @@ import (
) )
const Banner = ` const Banner = `
|||||| ||||||| ||||| ____ _ _ _ ____ _____
| | | | ||||| | | | | | || | | | | | _ \ (_) | | / __ \ / ____|
| | | | | | || || | | | | | | | | | |_) |_ _ _ __ _ __ ___ _| | | __ _| | | | (___
|||||| | | | | | || | | | | | | | | ||||| | _ <| | | | '__| '_ ' _ \| | | |/ _' | | | |\___ \
| | | | ||||| | | | | | |||||| | | | | |_) | |_| | | | | | | | | | | | (_| | |__| |____) |
| | | | | | | | | | | | | | | | | |____/ \__,_|_| |_| |_| |_|_|_|_|\__,_|\____/|_____/
|||||| |||| | | | | | |||||| |||||| | | ||||||| |||||
BurmillaOS \v \n \l BurmillaOS \v \n \l
` `

View File

@ -26,6 +26,6 @@ RUN apt-get update \
&& cat /etc/ssh/sshd_config > /etc/ssh/sshd_config.tpl \ && cat /etc/ssh/sshd_config > /etc/ssh/sshd_config.tpl \
&& cat /etc/ssh/sshd_config.append.tpl >> /etc/ssh/sshd_config.tpl \ && cat /etc/ssh/sshd_config.append.tpl >> /etc/ssh/sshd_config.tpl \
&& rm -f /etc/ssh/sshd_config.append.tpl /etc/ssh/sshd_config \ && rm -f /etc/ssh/sshd_config.append.tpl /etc/ssh/sshd_config \
&& rm -f /etc/motd \ && echo > /etc/motd
&& ln -s /etc/issue /etc/motd
ENTRYPOINT ["/usr/bin/ros", "entrypoint"] ENTRYPOINT ["/usr/bin/ros", "entrypoint"]