On Wed, 2015-12-23 at 13:55 -0600, Chris Adams wrote:
In previous CentOS releases, virt-what was included in the install image. This made it easy for me to spin a custom ISO with my package set and a kickstart that would add open-vm-tools or ovirt-guest-agent as appropriate (when installing the respective guest environments).
I updated my ISO to 7.2, and virt-what is nowhere to be found. I assume this is copied from RHEL; anybody know any explanation?
For now, I'm falling back to matching strings in /sys/class/dmi/id/product_name. Is there some better way to determine what (if any) virtual environment the installer is running under?
Just install package virt-what?
# yum provides */virt-what Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * nux-dextop: li.nux.ro virt-what-1.13-6.el7.x86_64 : Detect if we are running in a virtual machine Repo : base Matched from: Filename : /usr/sbin/virt-what
virt-what-1.13-6.el7.x86_64 : Detect if we are running in a virtual machine Repo : @cr Matched from: Filename : /usr/sbin/virt-what
BR, Louis