You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting a good one in "static" means that the server has a good hostname before DHCP.
This can be observed by running "journalctl -b 0" (journal of the last boot).
Without dhcp probably the network init script sets it while getting the info from "ipcalc --silent --hostname $IPADDR" during bootup.
before:
# hostnamectl status
Static hostname: localhost.localdomain
Transient hostname: io2.int.fgci.csc.fi
# hostnamectl status
Static hostname: io2.int.fgci.csc.fi
and after a reboot:
# hostnamectl
Static hostname: io2.int.fgci.csc.fi
Icon name: computer-server
Chassis: server
There is an ansible hostname module 1 which seems 2 to run hostnamectl --pretty --static and --transient .
Should probably use that.
Which role to add this to though?
Maybe we should set a static hostname?
What is the preferred/recommended method from RedHat?
On test system compute nodes:
The text was updated successfully, but these errors were encountered: