network: Add missing hosts configuration file

* Provides localhost define to the network kit
* Resolves #12260 and others
This commit is contained in:
Alexander von Gluck IV 2015-09-09 09:30:18 -05:00
parent fb956f2561
commit 635fe4746d
2 changed files with 10 additions and 1 deletions

View File

@ -272,7 +272,9 @@ SEARCH on $(driverSettingsFiles)
AddFilesToHaikuImage home config settings kernel drivers
: $(driverSettingsFiles) ;
local networkSettingsFiles = <network-settings>services ;
local networkSettingsFiles = <network-settings>services
<network-settings>hosts ;
SEARCH on $(networkSettingsFiles)
= [ FDirName $(HAIKU_TOP) data settings network ] ;
AddFilesToHaikuImage system settings network : $(networkSettingsFiles) ;

View File

@ -0,0 +1,7 @@
#
# Haiku's static hostname lookup table
#
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost