[Fedora-xen] Re: [et-mgmt-tools] virt-install question...

Daniel P. Berrange berrange at redhat.com
Mon Feb 12 14:59:58 UTC 2007


On Mon, Feb 12, 2007 at 10:51:13AM -0400, John.Sanabria at ece.uprm.edu wrote:
> Hi,
> 
> i'm using virt-install and it runs successfully with that command:
> 
> virt-install -n xengrid2 --vcpus=1 -r 256 -s 4 -f
> /media/disk/iso/xengrid/xengrid2 -l
> ftp://mirrors.hpcf.upr.edu/pub/Mirrors/redhat/download.fedora.redhat.com/6/i386/os
> -p --nographics
> 
> now, i have a question. What's the kernel image and initrd file used for
> virt-install in order to carry out the installation process? 

When you supply a NFS/HTTP/FTP  url to virt-install, it will take that URL
and try to fetch the 2 files  $URL/images/xen/vmlinuz and $URL/images/xen/initrd.img
for the remote site. It saves those two files to /var/lib/xen/images and then
boots the VM - the files are removed once the VM has started.

> I need that
> information because i want use the cobbler/koan tools in order to
> provision virtual machines remotely, but when i submit the command

You'll want to grab the vmlinuz & initrd.img files out of $URL/images/xen
and give them to cobbler when setting up the profile.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the Fedora-xen mailing list