環境:centos 6.3底層系統,安裝了kvm元件
問題:用指令行安裝虛拟機的時候報錯,詳情如下:
指令:[[email protected] ~]#virt-install --connect qemu:///system --name vm1 --ram 512 --vcpus=1 --disk path=/opt/mds/xuniji/vm1.img,size=50 --network bridge=br0 --os-type=linux --accelerate --cdrom=/root/CentOS-6.3-x86_64-bin-DVD2.iso --vnc
報錯:Starting install...
ERROR internal error Process exited while reading console log output: char device redirected to /dev/pts/2
qemu-kvm: -drive file=/root/CentOS-6.3-x86_64-bin-DVD2.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw: could not open disk image /root/CentOS-6.3-x86_64-bin-DVD2.iso: Permission denied
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start vm1
otherwise, please restart your installation.
看上去像是通路鏡像的時候沒有權限,但即使把鏡像改成777權限依然報錯。
請高手指點。。。。。。。。。。