Description of problem: Cannot create a VM with Ubuntu 18 since the parameter --os-variant does not support ubuntu18.04 Version-Release number of selected component (if applicable): How reproducible: Run virt-install \ --name peon_03 \ --ram 4096 \ --disk path=/var/lib/kvm/peon_03.qcow2,size=8,format=qcow2,bus=virtio \ --vcpus 2 \ --os-type linux \ --os-variant ubuntu18.04 \ --network bridge=br0 \ --graphics none \ --console pty,target_type=serial \ --location 'http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/' \ --extra-args 'console=ttyS0,115200n8 serial' Steps to Reproduce: 1. 2. 3. Actual results: Error message. ERROR Error validating install location: Distro 'ubuntu18.04' does not exist in our dictionary Expected results: The installer to continue and run. Additional info:
Thanks for the report. This info is tracked in libosinfo/osinfo-db, which got a patch for ubuntu18.04 in july: commit b4ce277defb7085350c5ee73ec62ba37728fde8b (tag: v20180720) Author: Věra Cholasta <vbudikov> Date: Fri Jul 20 09:08:38 2018 +0200 ubuntu: Add support for Ubuntu18.04 I tweaked the virt-install error a bit to try and be more helpful though: commit b51104ad228a6fedfad04449d0b40c38e3bf5f36 (HEAD -> master) Author: Cole Robinson <crobinso> Date: Wed Oct 3 19:32:09 2018 -0400 guest: Tweak error with invalid --os-variant Try to point people in the right direction if they specify an unknown distro name on the cli, like was reported here: https://bugzilla.redhat.com/show_bug.cgi?id=1576473