swap sizing in a kickstart script
Pablo Iranzo Gómez
Pablo.Iranzo at redhat.com
Fri Jan 11 15:11:01 UTC 2008
Sure, create a %pre section that obtains memory available on
system, then create some conditionals to size it adecuately and wrote a
"part" sentence with the recomended size to a /tmp/swappart file... then,
%include /tmp/swappart with the rest of your partitions in order to have
it included for kickstarting :)
Regards
Pablo
--
Pablo Iranzo Gómez
(http://Alufis35.uv.es/~iranzo/)
(PGPKey Available on http://www.uv.es/~iranzop/PGPKey.pgp)
--
Postulado de Boling sobre la Ley de Murphy:
Si se encuentra bien, no se preocupe. Se le pasará
On Fri, 11 Jan 2008, Jimmy Stewpot wrote:
> Hello,
>
> Is there an automated way in the kickstart file for the system to
> automatically create the "redhat recommended" swap size?
>
> Regards,
>
> Jimmy
>
> _______________________________________________
> 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