[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hostname issue



On 1/15/2018 4:10 PM, Adam Weremczuk wrote:
Hi all,

Today when I logged into my Debian 9.2 VM I noticed that the hostname has changed to the first block of the IP address I was accessing this VM from last:

root@83:~#


The hostname is displayed by the PS* variables.

https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html

"hostname" command was returning the full IP address 83.xxx.xxx.xxx

Cat /etc/hostname was still showing the correct name.

After apt-get update, ap-get upgrade (to 9.3) and reboot things went back to normal.

Is it a known bug?

Has anybody seen anything like this before?


For some reasons your hostname was change (dhcp).
This isn't a bug! :)

--
John Doe


Reply to: