hostname(1) manual page should talk about persistence
manpage - manual pages
The hostname command says it sets the system hostname. It doens't make it clear that this is only being done on the currently running kernel and will be lost on a reboot. It should point users to the /etc/nodename file.