在域连接中阻止了virt-install

时间:2019-01-17 12:18:38

标签: virtual-machine centos7

我尝试使用带有本地ks文件的virt-install命令安装Centos 7 guest虚拟机,但卡在“已连接到域”状态 你能帮我吗 这是终端的输出:

[klaude@localhost ~]$ LANG=C sudo virt-install --connect qemu:///system \
> --name centos7-ks \
> --ram 2048 \
> --disk path=/var/lib/libvirt/images/centos7-ks.qcow2,size=10 \
> --vcpus 2 \
> --os-type linux \
> --os-variant centos7.0 \
> --network bridge=virbr0 \
> --graphics none \
> --location /var/lib/libvirt/images/CentOS-7-x86_64-DVD-1804.iso \
> --initrd-inject=/home/klaude/Documents/ks1.cfg
[sudo] password for klaude: 
Sorry, try again.
[sudo] password for klaude: 
WARNING  Did not find 'console=ttyS0' in --extra-args, which is likely required to see text install output from the guest.

Starting install...
Retrieving file .treeinfo...                                                                                                                          |  354 B  00:00:00     
Retrieving file vmlinuz...                                                                                                                            | 5.9 MB  00:00:00     
Retrieving file initrd.img...                                                                                                                         |  50 MB  00:00:00     
Allocating 'centos7-ks.qcow2'                                                                                                                         |  10 GB  00:00:00     
Connected to domain centos7-ks
Escape character is ^]

0 个答案:

没有答案