[CentOS-virt] New to virtualization - can't use more than one CD when installing a new VM

Mon Jun 27 22:39:38 UTC 2011
Ed Heron <Ed at Heron-ent.com>

On Mon, 2011-06-27 at 15:37 -0600, Ed Heron wrote:
> On Mon, 2011-06-27 at 16:02 -0400, Steve Campbell wrote:
> > ...
> > I'm trying to install my first VM using Centos 5.5 as the host as well 
> > as the VM OS. It starts fine using VMM, but when it asks for the second 
> > disk of 8 CDs, the first one isn't ejected, although unmounted because I 
> > can open the tray, and won't recognize that the second CD is inserted.
> > ...
> 
>   Why not use a DVD image in /var/lib/xen/images?

  Or better, setup a local mirror using
http://wiki.centos.org/HowTos/CreateLocalMirror

  Then create your CentOS DomU with something like:

virt-install --name=<VMName> --vnc --vncport=59xx --noautoconsole
--paravirt --ram=512 --vcpus=1 --network=bridge:<network bridge device>
--file=<virtual disk device> --location=<mirror URL> --os-type=linux
--os-variant=rhel5 --extra-args="xencons=tty noipv6"