How about a pre-install script that writes a partition schema file for inclusion in kickstart? The following site describing how to create such a script has a nice example: https://github.com/rhinstaller/pykickstart/blob/master/docs/kickstart-docs.rst#chapter-4-pre-installation-script Richard On 07/28/2015 09:42 PM, Petr Hracek wrote: > Yeah, because of my program > written in python generates/updates a kickstart > with some modifications. > > Greetings > Petr > On 07/28/2015 07:58 PM, Matthew wrote: >> >> Any reason for python specifically? >> >> zerombr >> clearpart --all --initlabel >> >> part pv.01 --size=1 --grow >> >> volgroup vg_name_rhe6-lvroot pv.01 >> logvol / --fstype ext4 --name=root --vgname=vg_name_rhe6-lvroot >> --size=21000 --grow >> >> Matthew M. Conley >> 912-398-6704 >> >> On Jul 28, 2015 12:04 PM, >> <<mailto:kickstart-list-request@xxxxxxxxxx>kickstart-list-request@xxxxxxxxxx> >> wrote: >> >> Send Kickstart-list mailing list submissions to >> kickstart-list@xxxxxxxxxx >> <mailto:kickstart-list@xxxxxxxxxx> >> >> To subscribe or unsubscribe via the World Wide Web, visit >> https://www.redhat.com/mailman/listinfo/kickstart-list >> or, via email, send a message with subject or body 'help' to >> kickstart-list-request@xxxxxxxxxx >> <mailto:kickstart-list-request@xxxxxxxxxx> >> >> You can reach the person managing the list at >> kickstart-list-owner@xxxxxxxxxx >> <mailto:kickstart-list-owner@xxxxxxxxxx> >> >> When replying, please edit your Subject line so it is more >> specific >> than "Re: Contents of Kickstart-list digest..." >> >> Today's Topics: >> >> 1. How to add partitions to kickstart file with python >> (Petr Hracek) >> >> >> ---------- Forwarded message ---------- >> From: Petr Hracek <phracek@xxxxxxxxxx <mailto:phracek@xxxxxxxxxx>> >> To: kickstart-list@xxxxxxxxxx <mailto:kickstart-list@xxxxxxxxxx> >> Cc: >> Date: Tue, 28 Jul 2015 14:23:29 +0200 >> Subject: How to add partitions to kickstart file with python >> Hi folks, >> >> I have a data like: >> partition name /dev/mapper/vg_name_rhe6-lvroot >> mount point / >> size 20GB >> >> Is there any way how to add this data to kickstart file? >> >> How can I read commented data from kickstart file generated by >> anaconda? >> >> All should be done in Python. >> Any idea? >> >> -- >> Petr Hracek >> Software Engineer >> Developer Experience >> Red Hat, Inc >> Mob: +420777056169 <tel:%2B420777056169> >> email: phracek@xxxxxxxxxx <mailto:phracek@xxxxxxxxxx> >> >> >> >> _______________________________________________ >> Kickstart-list mailing list >> Kickstart-list@xxxxxxxxxx <mailto:Kickstart-list@xxxxxxxxxx> >> https://www.redhat.com/mailman/listinfo/kickstart-list >> >> >> >> _______________________________________________ >> Kickstart-list mailing list >> Kickstart-list@xxxxxxxxxx >> https://www.redhat.com/mailman/listinfo/kickstart-list > > > -- > Petr Hracek > Software Engineer > Developer Experience > Red Hat, Inc > Mob: +420777056169 > email: phracek@xxxxxxxxxx > > > > _______________________________________________ > Kickstart-list mailing list > Kickstart-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/kickstart-list > -- /dev/null
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list