Re: How to add partitions to kickstart file with python

TheParimal <[email protected]> Wed, 5 Aug 2015 11:50:00 +0530
Newsgroups gmane.linux.redhat.kickstart.general
Message-ID <CALnd2nAKdypV+-YkUCQyqX5Wgwk_HQVwjn+Ks9PwO3kXz8MvAw@mail.gmail.com>
Hello Petr,

I think you have to added it in  Ks.cfg.

%pre section where you are mention partitioning in ks.cfg.
 you have to compile your own ks.cfg (Kick Start file).

regards,
Parimal

On 28 July 2015 at 17:53, Petr Hracek <[email protected]> wrote:

> 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]
>
> _______________________________________________
> Kickstart-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/kickstart-list
>

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list