Report this

What is the reason for this report?

virtualmin/webmin command to change system primary ip

Posted on April 12, 2017

Deploying a custom image on a new droplet, virtualmin/webmin on the image notices a new IP address assigned to the droplet. When this happens, on first login to virtualmin/webmin shows below message on the page -

YOUR SYSTEM’S PRIMARY IP ADDRESS APPEARS TO HAVE CHANGED FROM XXX.XXX.XXX.XX TO XX.XXX.XXX.XX. VIRTUAL SERVERS USING THE OLD ADDRESS MAY BE UNREACHABLE OR SERVE THE WRONG WEB CONTENT.

When I click on Update my IP address, it would then change IP address of the system and everything works fine. I want to achieve the same thing using a command so I can run this script over system boot process.

Does anyone know how to do this using a command on virtualmin/webmin?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.