[SOLVED] Ubuntu hostname -i output
by stampede from LinuxQuestions.org on (#5P3RE)
I'm working on some K8's training, and I built a pair of Ubuntu VM's in VMware. KDE Neon to be specific.
I noticed this interesting anomoly.
Master:
How can I make sure the IP is properly set so that hostname -i sees the real thing?
I noticed this interesting anomoly.
Master:
pch@master:~$ hostname -iWorker:
127.0.1.1
pch@worker:~$ hostname -iI even set the IP static in the GUI and disabled IPV6 rebooted and checked again. Same output... Not sure what's setting the info in hostname -i.
192.168.0.157 172.17.0.1 fe80::20c:29ff:feb1:9de8
How can I make sure the IP is properly set so that hostname -i sees the real thing?