验证安装位置时出错:我们的字典中不存在发行版“centos7” || 主机操作系统 CentOS 7

ist*_*low 1 kvm centos

我对 Linux 有非常基本的了解,并且我正在使用 CentOS7 系统。现在我正在使用该virt-install工具来配置 KVM CentOS VM 。这是我写的命令:

virt-install --name=tester1.example.com \
--ram=1024 --vcpus=2 \
--disk path=/var/lib/libvirt/images/tester1.example.com.img,size=16 \
--graphics=spice \
--location=ftp://127.0.0.1/pub/inst \
--os-type=linux \
--os-variant=centos7
Run Code Online (Sandbox Code Playgroud)

这是我收到的错误消息:

Error validating install location: Distro 'centos7' does not exist in our dictionary
Run Code Online (Sandbox Code Playgroud)

有没有人有任何建议,如何解决这个问题?

ist*_*low 6

我想我找到了一个解决方法:我只是centos7centos7.0.