Manually change subnet mask

Ok, I was messing around with some of the settings and I accidentally changed the subnet mask to /32. Obviously, I can no longer access home assistant. How can I change this manually without going into HA? Hassio running on Virtualbox on a Windows machine.

I figured this out, it’s working again.

Would you mind explaining how, in case it could help others in future?

Of course!
I use a static internal IP of and my subnet was incorrectly set to 32 (
I went into the Command Line Interface and typed “Network Info” to get my Network Interface, which was enps03.
Then, per the help info (“network update help”), I typed: “network update enps03 --ipv4-address” and got a message that said “Command Completed Successfully”

restarted and success!