Most probably depends on what you typed when asked originally. What is stored in /etc/hostname and initiated at boot by /etc/init.d/hostname.sh
Take a look in those files and also view the manual for hostname (man hostname) and you will understand how it works.
|