# yum install kvm-qemu-img kvm libvirt virt-manager # modprobe kvm-amd # /etc/init.d/libvirtd start # virt-install --connect qemu:///system -n vm01 -r 512 --vcpus=1 \ --disk path=/var/lib/libvirt/images/vm01.img,size=10 \ --os-type linux --accelerate \ --os-variant=virtio26 \ --network network:default \ --location='http://ftp.riken.jp/Linux/centos/5.5/os/i386' \ --extra-args='console=tty0 console=ttyS0,115200n8'
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=25077&forum=41
http://www.listware.net/201007/centos-virt/101980-centos-virt-virt-install-error-on-centos-54-64bit-and-kvm.html
virt-install \ --connect qemu:///system \ --name vm02 \ --ram 512 \ --vcpus=1 \ --file /var/lib/libvirt/images/vm02.img \ --file-size=10 \ --nographics \ --os-type=linux \ --os-variant=virtio26 \ --network network:default \ --accelerate \ --location='http://ftp.riken.jp/Linux/centos/5.5/os/x86_64' \ --extra-args='ks=http://192.168.122.1/vm02-ks.cfg console=tty0 console=ttyS0,115200n8'
0 件のコメント:
コメントを投稿