?>

How to correctly change the hostname in Proxmox 7?

How to correctly change the hostname in Proxmox 7?

There are situations when you need to change the hostname of the server.

For example, if you installed Proxmox7 on the server and subsequently changed the hostname and the web interface of the Proxmox panel stopped working.

There are situations when you need to change the hostname of the server.

For example, if you installed Proxmox7 on the server and subsequently changed the hostname and the web interface of the Proxmox panel stopped working.

This is by the way, probably the most frequent scenario.

  1. Open the documentation https://pve.proxmox.com/wiki/Install_Proxmox_VE_on_Debian_Wheezy
  2. We set up ignoring the initial hostname setting
  3. Getting started
  4. Then during the work we change the default hostname

And here we understand, and the web interface then stopped working.

How to fix?

  1. Copy all content from / var / lib / rrdcached / db / pve2- {node, storage} / old-hostname to / var / lib / rrdcached / db / pve2- {node, storage} / new-hostname and delete old folders.
  2. Reboot server

Attention! If you have a pve-cluster, then you need to do something else.

All Comments (0)
No Comments