Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112407 - new xen related package - domi domain builder
Summary: new xen related package - domi domain builder
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-13 06:08 UTC by Chris Bainbridge (RETIRED)
Modified: 2006-04-10 00:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A /etc/domi.conf (domi.conf,2.80 KB, text/plain)
2006-02-24 02:53 UTC, marlboro
Details
Ebuild for domi - xen domain install scripts (domi-20060406.ebuild,6.83 KB, text/plain)
2006-04-09 09:40 UTC, charles bobo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Bainbridge (RETIRED) gentoo-dev 2005-11-13 06:08:30 UTC
Gern Knorr says "As followup to the Linux-Kongress tutorials I've started to
polish my tiny domain installer scripts a bit and ended up creating a new package
containing a number of shell scripts for domU installations.  The name is "domi"
and you can grab a copy here:

  tarball: http://dl.bytesex.org/cvs-snapshots/
  suse rpm: ftp://ftp.suse.com/pub/people/kraxel/10.0-i386/i586/

Tested on: suse 10.0 + xen unstable.
Distros it can install: suse, fedora, debian, gentoo."

Look suitable as a generic domain builder for xen, need ebuild, update xen-wiki.
Comment 1 marlboro 2006-02-24 02:53:04 UTC
Created attachment 80586 [details]
A /etc/domi.conf

Here is a /etc/domi.conf attached.

You need this conf if you want to use the nifty domi scripts.
I created this conf from the domi.man file.

The working way is:

You configurate the /etc/domi.conf and you will start the session with the command "/path/to/my/domi/./domi".
At the first time all necessary fils will downloaded.

First Time gentoo:
real    70m11.944s
user    1m30.594s
sys     0m41.527s

Second Time gentoo: (all files are in /var/cache/domi)
real    3m29.457s
user    0m56.228s
sys     0m27.064s


Time for a debian first installation:
real    13m38.765s
user    0m28.718s
sys     0m20.097s

If you starting a second time it takes only 5 minutes or less to create a new guest.
real    5m13.531s
user    1m30.090s
sys     0m38.854s

Unfortunately RedHat and SuSe do not work because they need yum and yast2 in Dom0.

But gentoo and debian works very well.

Many thanks to Mr. Knoor!
Comment 2 Chris Bainbridge (RETIRED) gentoo-dev 2006-02-24 04:58:13 UTC
If you submit an ebuild to go along with that config we can see about adding it to Gentoo ;-)
Comment 3 charles bobo 2006-04-09 09:40:51 UTC
Created attachment 84296 [details]
Ebuild for domi - xen domain install scripts

My first ebuild submission.  Please note, this ebuild does not contain the suggested /etc/domi.conf file.
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2006-04-10 00:55:20 UTC
Thanks for the ebuild! Some tips:

Please remove the skeleton comments in future
DEPEND line has to have fully qualified package names (ie. with category as well)
src_compile is not necessary - the inherited one does exactly what yours did.
Everything else okay.

I've added the ebuild to portage cvs, it should hit the mirrors soon. Maybe you could update the wiki with some notes on using domi?