Is it possible to add an os variant to the virt-manager list?

theillien asked:

I just installed RHEL 7.1 on a server. I’m using it to study for the RHCSA/RHCE exams. One of the steps in the study guide is to install a VM through virt-manager using installation media on an FTP server. The OS variant list only goes up to RHEL 7.0.

I attempted to install 7.1 but it threw an error every time:

An unknown error has occurred

The dialog that contains the error also provides debug information and a backtrace leading up to the error. I have not been able to find any cause of the problem when sifting through this data.

I downloaded the RHEL 7.0 installation media. When pointing the VM at that during the configuration the installation does not throw the error and runs normally.

I find it strange that virt-manager on RHEL 7.1 can’t install a RHEL 7.1 VM. But that’s neither here nor there.

Is it possible to add RHEL 7.1 to the list? If so will it be recognized or are there other things that virt-manager relies on to ensure the process functions correctly?

My answer:

The OS variant isn’t really that important. It just sets some defaults like the default amount of RAM and CPUs. You can safely set it to the closest available match (e.g. RHEL 7.0 for 7.1).

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.