homebrew-virt-manager
homebrew-virt-manager copied to clipboard
No OS displayed when creating VM, only 'Generic' available
I also just noticed on new virt-manager install, that no OS's displayed when creating VM, only 'Generic' is listed as an option, although using Cockpit, all OS's are available. something to do with the mac libosinfo install maybe?
Have the same issue on 2 mac's
Can confirm using debian buster on host
Problem is that there is no dir /usr/local/Cellar/libosinfo/1.7.1/share/osinfo
and no OS db in it.
Just the same as no ids for either usb or pci, see https://github.com/jeffreywildman/homebrew-virt-manager/issues/140
This is how I fixed it:
rm -rf /usr/local/Cellar/libosinfo/1.7.1/share/osinfo
wget -P /tmp "https://releases.pagure.org/libosinfo/osinfo-db-20200325.tar.xz"
tar xvf /tmp/osinfo-db-20200325.tar.xz -C /tmp
mv -v /tmp/osinfo-db-20200325 /usr/local/Cellar/libosinfo/1.7.1/share/osinfo
rm /tmp/osinfo-db-20200325.tar.xz
Thank you @angryhamsterx