如何修改Linux主机名

简单记录一下,一条命令搞定

hostnamectl set-hostname weianlai

原文地址:https://www.cnblogs.com/walblog/p/9470453.html