Sharing so this may help others who encounter similar issues to me.
Situation was that I was running the DHCP server add on via Home Assistant but I wanted to build a new instance of Home Assistant by restoring a backup to a fresh VMWARE image. Trying to boot the VMware virtual machine would fail with the error message
[WARN] Home Assistant CLI is not running! Jump into emergency console…
The machine could ping as it wasn’t getting allocated an IP address. What worked for me was:
- Start with a fresh VM image
- Set the VM to use NAT for the network settings instead of Bridge mode
- Provided your PC has internet, the VM should now also have internet
- Boot the image and fingers crossed it should load after some time
- Once you’ve completed the backup restore change the network settings via the Home Assistant UI settings (Settings->System->Network) to a static IP with appropriate gateway (e.g. 192.168.0.1) and DNS (e.g. 1.1.1.1)
- Shutdown the VM
- Change the network settings back to Bridged mode. Also make sure the bridge is to your physical network device only.
- Boot up the VM and it should be back to normal
Hope this helps!