Knowledge Search


Add entry to hosts file on STRM

  [KB16499] Show Article Properties

The /etc/hosts file on STRM allows you to map hostnames to IP addresses
  • How to add entry to /etc/hosts file on STRM
  • Entries in /etc/hosts file are lost
On every Deploy and Reboot the /etc/hosts file is over-written with contents from /etc/hosts.default file.  If you need to add hosts this need to be done in the /etc/hosts.default file

Sample /etc/hosts.default file

[root@strm-104 jars]# cat /etc/hosts.default
# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost strm-104
[root@strm-104 jars]#
Related Links: