hostname を決める

最近喫茶店的なところで作業をしているので,
ホスト名が接続先で違ったりするし,プロンプトに入れていて,
長いのが気になっていたので固定したい.

ということで,

In Mac OS X 10.4.x Server (and the client version I believe [and possibly earlier versions], by default your hostname is determined dynamically. This is controlled by the following line in the file /etc/hostconfig:

HOSTNAME=-AUTOMATIC-

(note that in my Mac OS X 10.4.10 client this line is absent from /etc/hostconfig so I assume that absence defaults to automatic as well). If you want to your hostname to be static, just change -AUTOMATIC- to whatever fully qualified hostname you want like foo.example.com.

超訳
/etc/hostconfig のHOSTNAME= を好きなFQDN の名前にしたらいいんじゃない?

ということらしいのでやってみたらできた.