问题原文
原帖链接 · Andres · CC BY-SA 3.0
Each time I SSH into my AWS Ubuntu servers I see a system information message, showing load, memory usage and packages available to install, like this:
Welcome to Ubuntu 12.04.3 LTS (GNU/Linux 3.2.0-51-virtual x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Sun Nov 10 18:06:43 EST 2013
System load: 0.08 Processes: 127
Usage of /: 4.9% of 98.43GB Users logged in: 1
Memory usage: 69% IP address for eth0: 10.236.136.233
Swap usage: 100%
Graph this data and manage this system at https://landscape.canonical.com/
13 packages can be updated.
0 updates are security updates.
Get cloud support with Ubuntu Advantage Cloud Guest
http://www.ubuntu.com/business/services/cloud
Use Juju to deploy your cloud instances and workloads.
https://juju.ubuntu.com/#cloud-precise
*** /dev/xvda1 will be checked for errors at next reboot ***
*** System restart required ***
My question is, how is that message created? How can I configure it?
社区高分解答
原帖链接 · airstrike · CC BY-SA 3.0
In my case, I had to clear /etc/update-motd.d/51-cloudguest, which read:
#!/bin/sh
#
# This file is written by the Ubuntu image build process, it is not
# managed by a package. If you want to avoid seeing this advertisement,
# then you can safely remove the file.
echo ""
echo " Get cloud support with Ubuntu Advantage Cloud Guest:"
echo " http://www.ubuntu.com/business/services/cloud"
echo ""
echo " Use Juju to deploy your cloud instances and workloads:"
echo " https://juju.ubuntu.com/#cloud-saucy"
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
