Solution to a hanged “Preparing Home Installation” screen during new install on a vm

The whole system hung at the ‘preparing home installation’ screen.

dns problem

1. login
2. cd /mnt/data/supervisor/
3. cp dns.json bk_dns.json
4. use vi to add ,"dns://1.1.1.1"
5. cd dns
6. cp coredns.json bk_coredns.json
7. use vi to add ,"dns://1.1.1.1" twice
8. reboot

https://community.home-assistant.io/t/new-x86-64-install-stuck-on-preparing-home-assistant/529359/2?u=msly

https://community.home-assistant.io/t/solution-to-a-hanged-preparing-home-installation-screen-during-new-install-on-a-raspberry-pi-4-dns-fix/273803/29

home assistant pulls docker image from ghcr.io