Change Home Assistant IP From Terminal?

Hi all! I’m having a world of trouble trying to figure out how to change my Home Assistant IP address (ideally from the terminal). I changed my ipv4 addresses over to 10.0.0.* from 192.168.1.* (long story), but HA is still getting assigned to 192.168.1.20! I’ve tried reserving a 10.0.0.* address for it in my router with no luck. I can’t access the front end, but I can get to it from a terminal because it’s running in a virtual machine on a Linux server. Any help is greatly appreciated!

What sort of VM and what sort of installation inside the VM.

1 Like

I installed the VMDK on a Ubuntu VM. Running it on VirtualBox.

Not sure what you mean. Where does ubuntu fit in?

You need to install the VMDK on something, right? Here’s a screenshot from the tutorial I followed to set it up:

ssh in and use nmcli.

1 Like

That’s it! Thanks for the lead, my friend!

1 Like

Hey nickrout, do you know how to delete entries in nmcli? Something like “delete ipv4.addresses”

https://developer.gnome.org/NetworkManager/stable/nmcli.html

remove ipv4.address