jeffreywildman / homebrew-virt-manager

A set of homebrew formulae to install virt-manager and virt-viewer on MAC OSX
1.01k stars 266 forks source link

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

Open kevinwells22 opened 4 years ago

kevinwells22 commented 4 years ago

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?

Edites commented 4 years ago

Have the same issue on 2 mac's

lewinernst commented 4 years ago

Can confirm using debian buster on host

angryhamsterx commented 4 years ago

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
stychos commented 4 years ago

Thank you @angryhamsterx