Pieter Thoma wrote:
> Hi,
>
> I was wondering if it is possible to set the inherit option in a 
> profile or system?
>
> # cobbler profile edit --name=CentOS-5.2-i386 
> --kickstart="<<inherit>>" doesnt work.
>
> Regards,
>
> Pieter

That is intended to work on subprofiles and system records only, it 
doesn't make sense for setting that on a regular profile.

This worked for me:

[mdeh...@mdehaan cobbler]$ sudo cobbler profile edit --name=mine 
--kickstart=/var/lib/cobbler/kickstarts/sample.ks
[mdeh...@mdehaan cobbler]$ sudo cobbler profile edit --name=mine2 
--kickstart="<<inherit>>"
[mdeh...@mdehaan cobbler]$ sudo cobbler profile report --name=mine2 | 
grep kickstart
kickstart            : <<inherit>>

In general, I shouldn't have exposed "<<inherit>>" as a user visible 
item in the Web app or CLI, such a concept is too abstract to make folks 
need to understand it -- though setting a kickstart to "" means 
something else .. it means don't use a kickstart, so I needed to put 
something in there that wasn't likely to be used as regular text.

Just as a general pointer, "doesn't work" isn't descriptive enough.  You 
need to post what things actually do when they don't work :)

--Michael
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to