Sane default kickstarts that understand hard disk differences

Michael DeHaan mdehaan at redhat.com
Thu Jan 4 15:41:49 UTC 2007


John Summerfield wrote:
> Matt Rose wrote:
>>
>> On 3-Jan-07, at 3:25 PM, John Summerfield wrote:
>>
>>> Michael DeHaan wrote:
>>>>   I realize this is all documented to some extent, though if anyone 
>>>> can share some real life working fully automatic kickstarts that 
>>>> ignore drive size/type would be really great.
>>>
>>>
>>> I used to do this sort of thing some years ago, back in the time of 
>>> RHL 7.x. It was before ks supported include, and before someone 
>>> mentioned the idea of simply overwriting the ks file.
>>>
>>
>>
>> I'm kind of curious, 'cause I use much the same method as Chip does, 
>> by using an include?  How would you overwrite the ks file, in situ, 
>> so to speak?
>
>
> makestuff >new.ks
> mv new.ks ks.cfg
>
> It seems it does (or did) get reread. It relied on a quirk, and the 
> include was invented to solve the need.
>
> As I implied, I didn't actually do this, but if you go back to the ks 
> archives for 2002 or so (back in the time of RHL 7.x) you should find 
> it mentioned.
>
> Straus out:-) 55/2.
>
>
>

Hmm, where do you call the script that generates the proper file to 
include?  It's too early to execute %pre, right?

--Michael







More information about the Kickstart-list mailing list