> > Thanks for clearing up the distinction between 'suppression of > evaluation' vs 'deserialization'. I wasn't quite sure how the '~' or > '!' prefix applied to kernel options/kickstart variables when being > parsed by anaconda. If the variables are not thrown out during > deserialization, then the '!' or '~' prefixes /do/ in fact have > meaning for the anaconda parser (unless cobbler does additional > processing before the variables are passed to anaconda's parser). Is > there a distinction between the '~' or '!' prefixes?
Try to avoid saying "deserialization" here if you can. This isn't the development list, and I don't want folks to feel like they have to understand what that means :) Actually you mean "serialization", that is, when the files are saved. (Further, we also don't want folks to have to know the JSON files exist either... the on-disk format isn't terribly important and the idea is folks do everything via Cobbler). (A) "~option" -- Delete this immediately from the internal saved state... In other words, I put a value here and now I want to delete it and pretend I never put that value there. Also, I don't want to use the web app to do it. This would remove the value from the internel saved state. (B) "!option" -- I know something higher up is going to define option, and I want to pretend as if they didn't set it, so document the absense of this flag there and make it not be applied. (This is understandably complex) Both syntaxes are odd mainly because there wasn't a cleaner way to do the syntax without introducing another flag, and we /really/ didn't want to do that. > > My original question, however, relates to whether and how removing the > kopts/ksmeta variables can be achieved, such that they are completely > gone -- obliterated from serialized JSON files. No trace of them > whatsoever in cobbler hashes. Is there currently a way to do this via > the CLI? If not, do you have any objection to my submitting patches > on cobbler-devel? Yes with "~option". _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
