[cobbler] Restoring an inherited value for a child profile?

James Cammarata jimi at sngx.net
Wed Nov 21 04:13:50 UTC 2012


On Tue, Nov 20, 2012 at 9:53 PM, Zack Perry <zack.perry at sbcglobal.net> wrote:
> I have a profile that is created using the command:
>
> cobbler profile add --name=... --parent=...
>
> The child profile's 'Template Files' attribute originally inherited
> from its parent. For testing, I changed it using
>
> cobbler profile edit --name=...
>
> Once I was done, I thought that the defaults in the parent profile
> were sufficient, so I wanted to restore the <<inherit>> value.  But,
> neither cobbler profile edit --help nor man cobbler offer any hints
> how to do so. I tried the cobbler web UI as a last resort, no dice
> either.
>
> Yeah, I can cobbler profile remove --name=... to delete the modified
> child profile and then recreate it.  It's not that hard, but
> conceptually it's uneconomical :-(
>
> So the Q: is it possible to restore an inherited value for a profile
> attribute?  If so, what is the correct work flow?

If you use --template-files='<<inherit>>', does it restore the inheritance?


More information about the cobbler mailing list