Hacker News new | ask | show | jobs
by c22 3962 days ago
It looks like hostname -i is getting its value from /etc/hosts. hostname --all-ip-addresses returns the correct result.