Kickstart-list Digest, Vol 133, Issue 5
Richard Neuboeck
hawk at tbi.univie.ac.at
Wed Jul 29 06:09:17 UTC 2015
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 at redhat.com>kickstart-list-request at redhat.com>
>> wrote:
>>
>> Send Kickstart-list mailing list submissions to
>> kickstart-list at redhat.com
>> <mailto:kickstart-list at redhat.com>
>>
>> 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 at redhat.com
>> <mailto:kickstart-list-request at redhat.com>
>>
>> You can reach the person managing the list at
>> kickstart-list-owner at redhat.com
>> <mailto:kickstart-list-owner at redhat.com>
>>
>> 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 at redhat.com <mailto:phracek at redhat.com>>
>> To: kickstart-list at redhat.com <mailto:kickstart-list at redhat.com>
>> 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 at redhat.com <mailto:phracek at redhat.com>
>>
>>
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com <mailto:Kickstart-list at redhat.com>
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>
>>
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>
>
> --
> Petr Hracek
> Software Engineer
> Developer Experience
> Red Hat, Inc
> Mob: +420777056169
> email: phracek at redhat.com
>
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
>
--
/dev/null
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/kickstart-list/attachments/20150729/8b9214b3/attachment.sig>
More information about the Kickstart-list
mailing list