esdc-ce icon indicating copy to clipboard operation
esdc-ce copied to clipboard

Do not update /etc/hosts when running from HDD and when it already contains IP and hostname for current nodename

Open jurajlutter opened this issue 4 years ago • 0 comments

Do not update /etc/hosts when running from HDD and when it already contains IP and hostname for current nodename.

When running from hdd, /etc/hosts is being updated on each run of /lib/svc/method/identity-node with contents of /etc/nodename and its address. Either check whether the record is already present or do not update /etc/hosts when running from HDD at all.

jurajlutter avatar Jan 14 '21 18:01 jurajlutter