James Laska wrote: > On Mon, 2009-03-02 at 08:35 -0500, Michael DeHaan wrote: > >> Vreman, Peter - Acision wrote: >> >>>>> Currently the script fails nicely if those modules are not found, >>>>> correct? If so, I think I am ok with just documenting this on the >>>>> anaconda >>>>> monitoring page that you can do this if you want, but it's mainly >>>>> just >>>>> for EL5 and later. We have to start drawing the line somewhere, and >>>>> installs will still work as normal. >>>>> >>>>> >>>> See my other message ... it does work for RHEL4 but only when you get >>>> the stage2.img. >>>> >>>> I've updated the wiki with that and Peter's updates.img solution. I'm >>>> happy with this instead of rewriting to use urllib2. Sound good? >>>> >>>> >>>> >>> The easiest solution is to replace netstg2.img with stage2.img. The >>> additional 60MB for the image size is not much compared to the download of >>> all the rpms. >>> >>> # mv netstg2.img netstg2.img.old >>> # ln -s stage2.img netstg2.img >>> > > For my use cases (testing the installer) I'd prefer a solution that > doesn't alter the distro. I consider that content read-only. > > We could add some logic to the 'pre_anamon' snippet so that it would > download the missing libraries and store them into /tmp/updates. > > We could change the anamon script to use urllib2 (which is supported > back to RHEL3). I'd prefer this if we want to move forward, but I'll > need to confirm how to get a mod_python handler to use the current > XMLRPC file_upload method. > > We could ignore it for RHEL[34]. > > Thanks, > James >
Let's just document the workaround on the page for now, and make sure the code plays nice when those libraries aren't found (i.e. does nothing, rather than breaks an install). >>> Regards, >>> Peter >>> >>> This e-mail and any attachment is for authorised use by the intended >>> recipient(s) only. It may contain proprietary material, confidential >>> information and/or be subject to legal privilege. It should not be copied, >>> disclosed to, retained or used by, any other party. If you are not an >>> intended recipient then please promptly delete this e-mail and any >>> attachment and all copies and inform the sender. Thank you. >>> >>> >>> _______________________________________________ >>> cobbler mailing list >>> [email protected] >>> https://fedorahosted.org/mailman/listinfo/cobbler >>> >>> >> Great idea. >> >> James -- what do you think about teaching import to just do this >> automatically for older trees? >> >> --Michael >> >> >> _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
