Re: virt-install with set vnc password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Seem like there is no such option, or could my option place it incorrectly ?

root@cloudnode2:~/new# cat virt-install.sh 
vm_uid=testvm
vcpu=2
ram=512
diskspace=10
path=/home/source/ubuntu-10.04.2-server-amd64.iso


#virt-install -n $vm_uid --vcpus=$vcpu -r $ram -f /root/new/disk0.raw -s $diskspace -c $path --accelerate --connect=qemu:///system --vnc --vnclisten=0.0.0.0 --noautoconsole -v

virt-install -n $vm_uid --vcpus=$vcpu -r $ram -f /root/new/disk0.raw -s $diskspace -c $path --accelerate --connect=qemu:///system --vnc --graphics vnc,password=testing --noautoconsole -v
root@cloudnode2:~/new# 
root@cloudnode2:~/new# 
root@cloudnode2:~/new# sh virt-install.sh 
Usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]

virt-install: error: no such option: --graphics
root@cloudnode2:~/new# 

Regards,
Peter Cheng

On Sun, Oct 23, 2011 at 1:54 AM, Mohammed Naser <mnaser@xxxxxxxxxxxx> wrote:
On Sat, Oct 22, 2011 at 5:53 AM, vmnode guy <vmnodeguy@xxxxxxxxx> wrote:
Hi Guy,

Anyone know how we can set up the vnc password during using virt-install command ?

         # virt-install \
              --connect qemu:///system \
              --name demo \
              --ram 500 \
              --disk path=/var/lib/libvirt/images/demo.img,size=5 \
              --network network=default,model=virtio \
              --vnc \
              --cdrom /dev/cdrom


Regards,
Peter

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users


Try this option instead of 

--vnc

Use

--graphics vnc,password=foobar

That should work.

--
Mohammed Naser — vexxhost
-----------------------------------------------------
PIN. 223141AA



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux