Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

VirtImage

Grant Gainey edited this page Dec 12, 2016 · 3 revisions

{{{ #!div class="important" style="border: 2pt solid; text-align: center" '''''DEPRECATED, NO LONGER USED''''' }}}

= Building Spacewalk virt image =

[https://www.redhat.com/archives/spacewalk-devel/2009-October/msg00003.html Greg's original email]

This is only for F11 users, and primarily for people who want to see/play with the Postgres code as it moves forward.

  1. Go get [http://thincrust.org/ thincrust], which is an appliance builder tool:

    {{{yum install thincrust}}}

  2. Go get the kickstart file I built:

    [http://fedorapeople.org/~gdk/SPACEWALK/spacewalk.ks]

  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 PostgreSQL code, you won't):

    • Download the Oracle RPMs from Oracle
    • Drop them into a directory
    • From that directory, yum install createrepo
    • Make sure the Oracle repo in the ks file matches

'''NOTE:''' Once the Oracle deps are completely dead, this step can be ripped out.

  1. Build your appliance! It will pull the latest RPMs from the nightly build:

{{{appliance-creator -n spacewalk --config spacewalk.ks}}}

  1. Go have a cup of coffee. Better yet, run Step 4 via cron in the middle of the night.

  2. 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.

Clone this wiki locally