Re: Issue in ks.cfg (anaconda-13.21.56-1.el6)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 15 Aug 2010, sashi kiran wrote:

*Description of problem:*

We use RHEL 6 (snapshot 7) for unattended OS deployment. In the ks.cfg, we
used
python in %pre section to find hard disk. The python module "kudzu" is not
find
in RHEL6, which we where using for all our unattended deployments. Also we
used
doGetBiosDisk function from isys module to find the bios boot disk. This
function also seems deprecated. Please suggest the alternate for kudzu
module
and doGetBiosDisk.

*Code Snippet:*


%pre --interpreter=/usr/bin/python
import kudzu,string,sys
...
...
bootDisk=isys.doGetBiosDisk("80")
disks=kudzu.probe(kudzu.CLASS_HD,kudzu.BUS_UNSPEC,kudzu.PROBE_ALL)


*Version-Release number:
*RedHat EL 6 (snapshot 7)
anaconda-13.21.56-1.el6

Any help is highly appreciated.

kudzu is no longer available in RHEL.  BIOS disk numbers are found via the edd
kernel module using the data in /sys/firmware/edd

See the /usr/lib/anaconda/storage/devicelibs/edd.py file for how we match the
EDD data to devices in anaconda.

--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux