I’m going to put my notes, for what I did, here in case someone else wants to install HA in a VM environment. It wasn’t until I got deep into this that I realized Docker isn’t a requirement as many of the YouTube videos and documentation would lead you to believe. What’s required is a QEMU environment, of which Docker supports one, but it’s not the only one. I never installed Docker and yet, it works just fine from the end user perspective coming in via the 8123 port.
I spun up a test box with Ubuntu 22.04LTS and installed all the software required to allow it to support a hypervisor under KVM. Spun up a Windows 10, Fedora 39, another Ubuntu 22.04LTS via the VM manager and had all these OS’s running fine simultaneously on the one box as a stress test. Then I installed HA in another VM while those others were still up and running.
Installed HA into a KVM virtual machine following these instructions from : Linux - Home Assistant . The file it wants to use is the exploded version of the qcows downloaded file, not the actual downloaded file. Explode it first.
Only wrinkle during install was when picking the firmware last item in the list. It corrupted the xml file by entering the same information twice. I got rid of the second version and the install worked. Once it was up, the networking information is wrong because it can’t possibly know about my network.
Used :
net update enp1s0 --ipv4-address 192.168.1.104/24 --ipv4-gateway 192.168.1.104 --ipv4-method static --ipv4-nameserver 8.8.8.8 (Use your values in place of mine)
to reset the NIC information except that the DNS entry didn’t update. I think that’s an HA bug. Tried --ipv4-nameservers (plural) but that produced an error because the plural isn’t a legitimate option.
Thereafter, I could hit the HA port 8123 and got an error log report that shows:
[supervisor.store] Can’t add repository GitHub - esphome/home-assistant-addon: ESPHome Home Assistant Add-on due to ‘GitRepo.clone’ blocked from execution, no supervisor internet connection
However, that was before I noticed that the single DNS address I provided never got updated. The net info command shows DNS to be empty for the actual NIC.
Doing a net info yields:
docker:
address: 172.30.32.0/23
dns: 172.30.32.3
gateway: 172.30.32.1
interface: hassio
net update hassio yields :
Error: Interface hassio does not exist
net update docker yields :
Error: Interface docker does not exist
A while later, the error report just disappeared (I didn’t do anything) and the HA Welcome! screen was up.
I registered myself and was able to get into the system. Used Settings/System/Network/IPv4 to enter DNS information and Save it.
All attempts to download logs produces a zero length file.
Added the Zigbee dongle and a ThirdReality Smart Plug to HA and successfully controlled that plug from inside HA.
That’s as far as I’ve managed to get so far.