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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!