Kickstart issues in RHEL6 Beta

Don Hoover dxh at yahoo.com
Tue Apr 27 03:03:34 UTC 2010


CC: to kickstart list for people like me who do lots of %pre/%post stuff.

A couple of issues I discovered when I just threw EL6 Beta into my existing EL5 kickstart.

1) /tmp/netinfo is now gone.  This is one of the most widely documented place to easily get the network info when doing a %pre or %post script.  I guess I will write some new code to get the info manually out of ifconfig etc.. but a note about this would be nice in the EL6 release notes since lots of people probably use this today in EL5 kickstart scripts.

2) In the current EL6 beta, the "list-harddrives" command inside the anaconda environment is totally broken if you have a CDROM drive.  It crashes with an error of "unknown disk label" from the python code.  I believe that this little utility was widely used in %pre and %post scripts as well.   It was the quickest way to get a list of all the disks on the system and their info.  I used it to verify the correct drive sizes and to automatically choose the first correct disk to install to in my kickstart.  I even used a formula based on the disk size info from list-harddrives to calculate the size of the swap lv.
  

These sort of things were what many of us used that built hands-off fully automated installs. 

If they are going away in EL6, they should be documented I would think.






More information about the Kickstart-list mailing list