homebrew-virt-manager icon indicating copy to clipboard operation
homebrew-virt-manager copied to clipboard

No OS displayed when creating VM, only 'Generic' available

Open kevinwells22 opened this issue 5 years ago • 4 comments

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?

kevinwells22 avatar Jan 27 '20 14:01 kevinwells22

Have the same issue on 2 mac's

Edites avatar Jan 28 '20 11:01 Edites

Can confirm using debian buster on host

lewinernst avatar Mar 30 '20 17:03 lewinernst

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

angryhamsterx avatar Apr 01 '20 14:04 angryhamsterx

Thank you @angryhamsterx

stychos avatar Apr 06 '20 18:04 stychos