代码: 全选
$virt-install --name=ubuntutest --ram 512 --vcpus 2 --disk path=/home/suxubo/images/ubuntutest.qcow2,size=10,format=qcow2,bus=virtio,sparse --cdrom /home/suxubo/images/iso/ubuntu-14.04.4-server-amd64.iso --graphic vnc --os-type=linux --virt-type=kvm --hvm --accelerate --network bridge=virbr0 --autostart
Starting install...
Creating domain... | 0 B 00:00
Cannot open display:
Run 'virt-viewer --help' to see a full list of available command line options
Domain installation still in progress. You can reconnect to
the console to complete the installation process.