Very cool! On 10/01/2009 12:40 PM, Greg DeKoenigsberg wrote:
So I did this little thing, and I'd like to know if other people find it useful. I just got a spiffy new laptop that does virt pretty well, and I'm running F11 on it. Which gives a lot of neat virt stuff for free, that makes the creation of a spacewalk nightly build very simple and convenient. This is only for F11 users, and primarily for people who want to see/play with the Postgres code as it moves forward. Step 1: Go get thincrust, which is an appliance builder tool: yum install thincrust Step 2: Go get the kickstart file I built: http://fedorapeople.org/~gdk/SPACEWALK/spacewalk.ks Step 3: (Sadly still necessary) Build a local repo for Oracle, even if you don't intend to run Oracle at all (which, if you're playing with the Postgres code, you won't): 3a. Download the Oracle RPMs from Oracle 3b. Drop them into a directory 3c. From that directory, yum install createrepo 3d. Make sure the Oracle repo in the ks file matches Once the Oracle deps are completely dead, this step can be ripped out. Step 4: Build your appliance! It will pull the latest RPMs from the nightly build: appliance-creator -n spacewalk --config spacewalk.ks Step 5: Go have a cup of coffee. Better yet, run Step 4 via cron in the middle of the night. Step 6: Run your new virtualized image! virt-image spacewalk.xml Ultimately, I'd like to be able to see a tinderbox running this process to test things like deps issues, install time issues, and so forth. Anyway, hope it's a useful idea. Comments welcome. Obviously, that kickstart file can be much improved, since this only drops the RPMs into a convenient image -- configuration still needs to be done manually, but that's the next step. It's the kind of thing I'd love some help with. --g -- Computer Science professors should be teaching open source. Help make it happen. Visit http://teachingopensource.org. _______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Spacewalk-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-devel
