How to change the primary Proxmox IP address

How to change the primary Proxmox IP address when your network changes. Super simple 2 steps to get started.

I recently changed our networking and needed to change our virtual server proxmox IP address. Luckily this was super simple for us to do. Here are the steps that are required.

First you need to change the interface IP

nano /etc/network/interfaces

There you will need to change your old IP to the new one.

after that we need to change the hosts. This will be the second line for the IP of your computer

nano /etc/hosts

This should be all you need. I recommend restarting the server.