-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Description
Hi,
I use xCAT 2.12.3 to deploy both physical nodes and VMs on a new cluster and I am currently using CentOS 7.3 as the Linux distro. Although hostname returns the proper node hostname after it is deployed, I noticed that all nodes deployed with xCAT have the default /etc/hostname content with localhost.localdomain. Also, there is an example of hostnamectl status on such deployed node:
# hostnamectl status
Static hostname: localhost.localdomain
Transient hostname: oak-gw04.sunet
Icon name: computer-vm
Chassis: vm
...
Do you have an idea of how to fix this without writing a postscript? I am a bit surprised this is not done by anaconda, hm? Thanks!