Re: Kickstart-list Digest, Vol 133, Issue 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I don't understand the question. As long as it starts with # you can
write as many comments into the kickstart file as you want.

i.e.
# Use network installation
url --url="http://mirror.centos.org/centos/7/os/x86_64/";
# Add EPEL right from the start to make things easier
# And another comment
repo --name="EPEL"
--baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64/ --cost=5

Richard

On 07/29/2015 08:33 AM, Petr Hracek wrote:
> Yeah, this could be a way.
> 
> I will try it definitelly.
> 
> And I have a another question.
> Let's say that I would like to add a bunch of comments to my
> kickstart before an URL definitions.
> How to do that?
> 
> URL section begins with
> # Use network instalation
> 
> Greetings
> Petr
> 
> On 07/29/2015 08:09 AM, Richard Neuboeck wrote:
>> 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
>>>
>>
>>
>>
>> _______________________________________________
>> 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

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux