[Fedora-livecd-list] RFC- multiple configs support

Douglas McClendon dmc.fedora at filteredperception.org
Sat Jan 26 21:56:04 UTC 2008


Bryan Kearney wrote:
> I would love to be able to have one kickstart file work in cobbler/koan 
> for machine and bare metal configuration as well as livecd-creator to 
> create cds. So... if the syntax could be comparable that would be great. 
> I would understand I would have to have different  stores of 
> replacements, but some synergy of template/macro/substitution would be 
> great.

I agree.  I probably won't tackle the template/macro/substitution 
anytime real soon, as it does sound like something that might be best 
planned out across all the tools.

Here is a random idea to put on the table, which I'm sure has probably 
been discussed before elsewhere-

How about something like a 'ksdefine' directive in kickstart, that gets 
applied to everything in the kickstart?  Then the livecd-creator 
commandline example I gave, basically just becomes the ability to 
specify a single line of kickstart directive on the commandline (perhaps 
multiple times).

Then even have it so that on the kernel commandline you could do 
something like

"ks=http://bla/foo.ks ksdefine=ADDUSER=guest ksdefine=..."

Anyway, those are just the examples that come to mind.  I've looked at 
cobbler/koan, but never actually used it.  Perhaps you can describe some 
simple examples of how you think the syntax could work across both tools.

-dmc


>>
>> livecd-creator \
>>     --config=fedora-livecd-desktop.ks \
>>     --config=emacs-and-friends.ks \
>>     --config=add_user_in_liveinit.ks \
>>     --define=LIVEUSER=guest
>>
>> The result would be that instead of the current user that gets 
>> autologged in being named 'fedora', it would be named 'guest'.




More information about the Fedora-livecd-list mailing list