Re: part-include

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

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux