Léon Keijser wrote: > Hi Michael, > > On Wed, 2008-10-08 at 10:52 -0400, Michael DeHaan wrote: > >> A perhaps clearer way is: >> >> cobbler profile edit --name=foo --kopts=delete >> > > Ah, that's better. > > >> Another cool trick is that if you define a kopts value at a higher level >> but don't want it at a lower level, you can tell Cobbler to omit it. >> >> cobbler profile edit --name=foo --kopts="text" >> cobbler system edit --name=bar --profile=foo --kopts="!text" >> > > Cool. Can i assume this works for other things as well? For example, > repos that can be defined in the top profile but in a subprofile > shouldn't be used? > >
It works for things that are stored as dictionaries, so only --kernel-options --kernel-options-post --ks-meta --template-files (new for 1.3) --yumopts (on repos) That's a useful extension feature though, perhaps add an RFE in Trac? Basically all this code lives in utils.py's blender function, so it could work for free for all arrays if we add it once. >> --Michael >> > > thanks, > > > Léon > > > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler > _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
