2016-09-26 104 views
0

有人能告訴我如何啓用虛擬機中使用virt-install在KVM hypervisor上創建的VNC嗎?KVM服務器沒有GUI時,如何在KVM虛擬機中啓用VNC?

我的服務器沒有一個GUI所以我用來運行以下命令旋轉起來VM:

virt-install \ 
--name centos6 \ 
--ram 1024 \ 
--disk path=/var/lib/libvirt/images/centos6.img,bus=virtio,size=30 \ 
--vcpus 1 \ 
--os-type linux \ 
--os-variant rhel6 \ 
--network bridge=br0 \ 
--graphics none \ 
--location 'http://mirror.i3d.net/pub/centos/6/os/x86_64/' \ 
--extra-args 'console=ttyS0,115200n8 serial' 

現在我要在VM(centos6)安裝GUI安裝VNC ,有人能告訴我如何實現嗎?

謝謝。

回答

相關問題