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.
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!
If you submit an ebuild to go along with that config we can see about adding it to Gentoo ;-)
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.
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?