Good day. I''m pretty curious, how they work with netinst (debian, suse, ubuntu, centos)... As I understand, at first start they downloads xen-aware kernel and netinst initrd from repository (with one user must point with other-config:install-repository)... But how they do it? I means, this some kind of script, some kind of variables... Really, I''d like to do few more templates (f.e. new ubuntu 10.10), but I don''t know where to start. Let''s starts from beginning... Where those templates resides? Especially they exists even no any SR are created.. They contains following in other-config: default_template: true; linux_template: true; install-methods: cdrom,http,ftp; install-arch: i386; debian-release: lenny; disks: <provision><disk device="0" size="8589934592" sr="" bootable="true" type="system"/></provision>; install-distro: debianlike But this is definitive not enough for pinpoint name of kernel/initrd to download... I tried to export template, unpack it (ova.xml), look inside and yet found no lines like dists/stable/main/installer-i386/current/images/netboot/xen/... So: where I shall start to dig in? Thanks. --- wBR, George. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Jonathan Ludlam
2010-Oct-15 08:30 UTC
Re: [Xen-users] XCP: buitin templates (how they works?)
Take a look at ''eliloader'' (/usr/bin/eliloader) - if you look at the PV-bootloader on the templates, you''ll see it''s set to that. Jon George Shuklin wrote:> Good day. > > I''m pretty curious, how they work with netinst (debian, suse, ubuntu, > centos)... > > As I understand, at first start they downloads xen-aware kernel and > netinst initrd from repository (with one user must point with > other-config:install-repository)... > > But how they do it? I means, this some kind of script, some kind of > variables... > > Really, I''d like to do few more templates (f.e. new ubuntu 10.10), but I > don''t know where to start. > > Let''s starts from beginning... > > Where those templates resides? Especially they exists even no any SR are > created.. > > They contains following in other-config: > > default_template: true; linux_template: true; install-methods: > cdrom,http,ftp; install-arch: i386; debian-release: lenny; disks: > <provision><disk device="0" size="8589934592" sr="" bootable="true" > type="system"/></provision>; install-distro: debianlike > > But this is definitive not enough for pinpoint name of kernel/initrd to > download... > > I tried to export template, unpack it (ova.xml), look inside and yet > found no lines like > dists/stable/main/installer-i386/current/images/netboot/xen/... > > So: where I shall start to dig in? Thanks. > > --- > wBR, George. > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
David Markey
2010-Oct-15 08:32 UTC
Re: [Xen-users] XCP: buitin templates (how they works?)
Also, Check this page: http://community.citrix.com/display/xs/Installing+Ubuntu+Server+10.04+(32bit+and+64bit)+LTS <http://community.citrix.com/display/xs/Installing+Ubuntu+Server+10.04+(32bit+and+64bit)+LTS>In particular my script that creates the ubuntu 10.04 templates, On 15 October 2010 09:30, Jonathan Ludlam <jonathan.ludlam@eu.citrix.com>wrote:> Take a look at ''eliloader'' (/usr/bin/eliloader) - if you look at the > PV-bootloader on the templates, you''ll see it''s set to that. > > Jon > > > George Shuklin wrote: > >> Good day. >> >> I''m pretty curious, how they work with netinst (debian, suse, ubuntu, >> centos)... >> >> As I understand, at first start they downloads xen-aware kernel and >> netinst initrd from repository (with one user must point with >> other-config:install-repository)... >> >> But how they do it? I means, this some kind of script, some kind of >> variables... >> >> Really, I''d like to do few more templates (f.e. new ubuntu 10.10), but I >> don''t know where to start. >> >> Let''s starts from beginning... >> >> Where those templates resides? Especially they exists even no any SR are >> created.. >> >> They contains following in other-config: >> >> default_template: true; linux_template: true; install-methods: >> cdrom,http,ftp; install-arch: i386; debian-release: lenny; disks: >> <provision><disk device="0" size="8589934592" sr="" bootable="true" >> type="system"/></provision>; install-distro: debianlike >> >> But this is definitive not enough for pinpoint name of kernel/initrd to >> download... >> >> I tried to export template, unpack it (ova.xml), look inside and yet >> found no lines like >> dists/stable/main/installer-i386/current/images/netboot/xen/... >> >> So: where I shall start to dig in? Thanks. >> >> --- >> wBR, George. >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
George Shuklin
2010-Oct-15 12:53 UTC
Re: [Xen-users] XCP: buitin templates (how they works?)
Oh. Thats cool. And I can use other program than eliloader? (for example my own?) What that loader shall do? Or can I simply use PV-ramdisk/kernel from the begining? В Пт., 15/10/2010 в 09:30 +0100, Jonathan Ludlam пишет:> Take a look at ''eliloader'' (/usr/bin/eliloader) - if you look at the > PV-bootloader on the templates, you''ll see it''s set to that. > > Jon > > George Shuklin wrote: > > Good day. > > > > I''m pretty curious, how they work with netinst (debian, suse, ubuntu, > > centos)... > > > > As I understand, at first start they downloads xen-aware kernel and > > netinst initrd from repository (with one user must point with > > other-config:install-repository)... > > > > But how they do it? I means, this some kind of script, some kind of > > variables... > > > > Really, I''d like to do few more templates (f.e. new ubuntu 10.10), but I > > don''t know where to start. > > > > Let''s starts from beginning... > > > > Where those templates resides? Especially they exists even no any SR are > > created.. > > > > They contains following in other-config: > > > > default_template: true; linux_template: true; install-methods: > > cdrom,http,ftp; install-arch: i386; debian-release: lenny; disks: > > <provision><disk device="0" size="8589934592" sr="" bootable="true" > > type="system"/></provision>; install-distro: debianlike > > > > But this is definitive not enough for pinpoint name of kernel/initrd to > > download... > > > > I tried to export template, unpack it (ova.xml), look inside and yet > > found no lines like > > dists/stable/main/installer-i386/current/images/netboot/xen/... > > > > So: where I shall start to dig in? Thanks. > > > > --- > > wBR, George. > > > > > > _______________________________________________ > > Xen-users mailing list > > Xen-users@lists.xensource.com > > http://lists.xensource.com/xen-users > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- XCP - VM creation from template and netinst
- Bug#677395: xcp-xapi: xe pif-configure-ip does not remove old ip from interface
- [ITR] templates://xen-api/{xcp-networkd.templates}
- Bug#678923: xcp-xapi: host-disable and host-reboot make host disable forever
- Problems with Xen Tools instalation