part-include

James Puellmann lists.james at gmail.com
Fri Apr 7 14:09:27 UTC 2006


I've used %include for partitioning without any problems with RHEL ES 4 
by putting the partition %include directive between the "mouse" and 
"bootloader" options. (before the %pre) and then doing this in the %pre:

cat > /tmp/include << EOF
zerombr yes
clearpart --all
partition /boot --fstype=ext3 --size=200
partition swap --size=2000
partition pv.01 --size=1000 --grow
volgroup myvg pv.01
logvol / --vgname=myvg --name=rootvol --size=1000 --grow
logvol /tmp --vgname=myvg --name=tmp --size=1024
EOF


Philip Rowlands wrote:

> On Thu, 6 Apr 2006, Stephen Mah wrote:
>
>> I have a %pre script that writes to /tmp/part-include depending on 
>> the hard drive layout.
>> The file, part-include is successfully written, but kickstart seems 
>> to ignore it.
>>
>> I've tried putting, before the %pre section and in the %pre section.
>> %include /tmp/part-include
>
>
> Which version of RHEL/Fedora? I know I had problems with %include in 
> older releases.
>
>
> Cheers,
> Phil
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>




More information about the Kickstart-list mailing list