use output of hostname command.