How do we change the node's hostname?

  • Thread starter Thread starter xor
  • Start date Start date
X

xor

Guest
How do we change the node's hostname?

I tried on the System->DNS section, I changed the hostname there and rebooted.

The hostname was successfully changed in the System->DNS section and in the ssh prompt, but remained the same on a lot of places in the proxmoxve web interface. Including the "Home" page, the "Virtual Machines" page and the "Cluster" page.

There were also a lot of files in the /etc directory that still had the previous hostname's string inside them. On subdirectories /etc/pve, /etc/lvm, and /etc/bacula.
 
Last edited by a moderator:
Changind the hostname of a running cluster is not recommended. You need to manually edit /etc/proxmox/cluster.cfg on all nodes.