UbuntunでHostNameを変更する場合
hostnamectl set-hostname xxxx
これだけでOK
/etc/hosts
のホスト名も変更する
More than 5 years have passed since last update.
UbuntunでHostNameを変更する場合
hostnamectl set-hostname xxxx
これだけでOK
/etc/hosts
のホスト名も変更する
Register as a new user and use Qiita more conveniently