Re: probe drives in during %pre in kickstart
Matt Rose <[email protected]>
| Newsgroups | gmane.linux.redhat.kickstart.general |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 8 Aug 2011, Dan White wrote: >>> For RHEL5 kickstarts, we use the isys module (from anaconda) to probe which >>> and how many drives are available in the system. >>> However, when trying to install a RHEl6 system with, it fails in the pre >>> part because the function hardDriveDict has been removed from isys. >>> A googlesearch pointed me to the direction of minihal as a replacement for >>> isys.DriveDict. However, currently it is not clear to me where I can find >>> the minihal module and how I should import this module in the pre-phase of >>> the kickstart. >>> >>> Can anyone shed a light on this ? >> >> You can use the list-harddrives command line program for this, or if you >> are writing a script you can see what it does and duplicate it if >> necessary. >> >> - Chris > > No, list-harddrives is busted > > https://bugzilla.redhat.com/show_bug.cgi?id=709880 > The workaround for this is also here, though, and it's pretty simple, and won't break backwards compatibility, I don't think. https://bugzilla.redhat.com/show_bug.cgi?id=709880#c5 Matt > > > > “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > _______________________________________________ > Kickstart-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/kickstart-list > _______________________________________________ Kickstart-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/kickstart-list