|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Customising a Debian XGT template.dat file
Hi Jon,
May I suggest you try the XenSource forums at
http://forums.xensource.com/index.jspa
This mailing list has mostly users of the open source Xen project, and there's
not a whole lot of community knowledge about the XenSource products here.
You might find the XenSource forums have more people who are interested in
the same things as you, so you may get a quicker response there.
It's possible that XenEnterprise expertise on this mailing list will increase
over time though.
Hope this helps you find an answer!
Cheers,
Mark
> Does anyone have any documentation of how to create customized XGT files?
> (These are the files are on the Xen host in /opt/xensource/packages/xgt).
>
> This is what I understand so far - the .xgt extension is really a zip file.
> The debian.xgt is really these three files zipped up together -
> root.tar.bz2, swap.img and template.dat.
>
> I've created my own root.tar.bz2 by tarring up a customised debian install
> of sarge. The part I don't understand is the format of the template.dat
> file. I want three partitions - a root partition, a swap partition and a
> /var partition. I have a file called var.tar.bz2 that I want extracted to
> the /var partition during installation. So far it creates the partition,
> but doesn't copy the files. Has anyone else done this before?
>
> Here is what my template.dat file looks like:
>
> (xgt
> (xgt-version 4)
> (xgt_restricted 'true')
> (name 'Jons Debian Sarge Guest Template')
> (rootfs-type 'ext3')
> (description 'Jons Debian for XenEnterprise')
> (distrib debian)
> (root-vbd sda1)
> (root-vbd sdc1)
>
> (boot_params "quiet")
>
> (filesystem
> (uri 'root.tar.bz2')
> (function root)
> (type tar-wholedisk)
> (vbd sda)
> (total_size 5368709120)
> (used_size 455628081)
> )
>
> (filesystem
> (uri 'swap.img')
> (function root)
> (type img)
> (vbd sdb)
> (total_size 1073742848)
> (used_size 1073742848)
> )
>
> (filesystem
> (uri 'var.tar.bz2')
> (function user)
> (type tar-wholedisk)
> (vbd sdc)
> (total_size 10485760000)
> (used_size 10485760000)
> )
> )
>
> Thank you,
> Jon Eicher
>
> _________________________________________________________________
> Type your favorite song.� Get a customized station.� Try MSN Radio
> powered by Pandora. http://radio.msn.com/?icid=T002MSN03A07001
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
--
Dave: Just a question. What use is a unicyle with no seat? And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|