[CentOS] Introduction and request for help with virtualization

Wed Aug 4 18:48:48 UTC 2010
Christoph Maser <cmaser at gmx.de>

Am Mittwoch, den 04.08.2010, 11:30 -0400 schrieb Kevin Chang:
> I found a script via google:
> 
> 
> #!/bin/sh
> 
> virt-install \
> -n calcnode01 \
> -r 1024 \
> -f /dev/vmstorage_vg/calcnode01 \
> --cdrom=/software/iso/CentOS-5.5_x86_64-boot.iso \
> --accelerate \
> --vnc \
> -x "ks=ftp://192.168.0.101/pub/ks/calcnode01.ks ip=192.168.0.101
> netmask=255.255.255.0 dns=192.168.0.20 gateway=192.168.0.1 text
> console=ttyS0"
> 
> When I start this script from the SSH terminal it starts but I cannot
> see anything being installed.  I entered the virsh console and see the
> calcnode01 entry if I do a list.  If I try to connect using virsh I do
> not see anything.  The kickstart was created from the anaconda file
> created from the manual installation. I enabled the options to create
> the filesystems.
> 
> I think the installation is waiting on some input but I cannot see any
> console.  I have tried with and without the "console=ttyS0" option.
> 
> Thank you everyone for your time.

Kevin,

since you use --vnc the console of the vurtual machine is using vnc, you
can use virt-manager or virt-viewer to atttach a graphical console.

+C