How to add partitions to kickstart file with python

Petr Hracek <[email protected]> Tue, 28 Jul 2015 14:23:29 +0200
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <[email protected]>
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
email: [email protected]