- 论坛徽章:
- 0
|
回复 36# marsaber
我的宿主机ip是192.168.100.100,9000端口没有被占用,后来将192.168.100.90改为192.168.100.100,如下:
#!/bin/bash
/usr/bin/virt-install \
--connect qemu:///system \
--network mac=22:22:22:22:22:22,network=default,model=e100 \
--name kvm_100.90 \
--ram=1024 \
--vcpus=1 \
--disk path=/home/kvm_100.90/100-90.img,bus=ide,size=20 \
--cdrom /kvm/iso/CentOS-5.4-x86_64-bin-DVD.iso \
--vnc --vncport=9000 \
--vnclisten=192.168.100.100 \
--os-variant=rhel5.4
依旧不行..............
运行该脚本后,提示如下:
开始安装......
ERROR internal error Process exited while reading console log output: char device redirected to /dev/pts/1
qemu-kvm: -device e100,netdev=hostnet0,id=net0,mac=22:22:22:22:22:22,bus=pci.0,addr=0x3: Parameter 'driver' expects a driver name
Try with argument '?' for a list.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
virsh --connect qemu:///system start kvm_100.90
otherwise, please restart your installation. |
|