Skip to content
Discussion options

You must be logged in to vote

I found the solution myself. After running my own script adding ip fqdn short name in /etc/hosts:
sed -i '/^[^#]::1/s/^/#/' /etc/hosts && addr="$(hostname -I)$HOSTNAME ${HOSTNAME%%.}" && sed -zi '/'"$addr"'/!s/$/'"$addr"'\n/' /etc/hosts
everything worked as it should. It is very strange that no other program or service needed this :)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@michaelklishin
Comment options

Answer selected by SubZero77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants