I just installed OpenSUSE Leap 42.1 on a Virtualbox Windows 10 Host to identify an issue that some users have with a software i build.
The default hostname is “linux-4e98”.
By default the hostname are not in /etc/hosts. Only the line “127.0.0.1 localhost”.
So, a “ping $HOSTNAME” fail.
This cause issues with some software, for example Mono (as example: https://bugzilla.xamarin.com/show_bug.cgi?id=42249).
It’s a correct behiavour that hostname MAY not be resolved, or something was wrong, or is a user work update their /etc/hosts ?
Exists a command that i can execute to ‘force’ the OS to update correctly the /etc/hosts ?
Thanks for any feedback.