只是对这个很感兴趣,这里的ASCII艺术是什么?
$ ssh foo@$AWS_IP
Last login: Sat Mar 21 08:39:27 2015 from xx.xx.xx.xx
__| __|_ )
_| ( / Amazon Linux AMI
___|\___|___|我需要它作为我的理智。
发布于 2015-03-22 11:31:37
是ASCII的艺术,上面写着EC2。表示弹性计算云
发布于 2019-02-25 13:46:28
您可以使用实用程序小图来制作自定义的。“展示字体”将向您展示可用的字体,aws使用的字体称为“标准”
我们制作像aws这样的定制横幅。ie创建文件.eb扩展名/000update-motd.config
commands:
setup_banner:
command: |
yum erase -y update-motd
unlink /etc/motd
amazon-linux-extras install epel -y
yum-config-manager --enable epel
yum install -y figlet
# Add Motd as Beanstalk Environment Name
echo `{"Ref": "AWSEBEnvironmentName" }` | figlet -f standard > /etc/motd
# Add warning disclaimer from your code ( optional )
# cat /var/app/current/.platform/banner >> /etc/motd
test: rpm --quiet -q update-motd || [[ ! -f /etc/motd ]]
ignoreErrors: truehttps://stackoverflow.com/questions/29192798
复制相似问题