On 09/22/2009 10:26 AM, Christopher Johnston wrote:
Behavior on 1.6.x allows you to zero out any params as part of a kopt. I noticed in 2.0 I can append more entries but cant remove the existing ones or remove all of them. Also is kopts-post even valid anymore? I don't see it printed when looking at a system report, but I see it in the json file. If the usual CLI sequence that I am used to is different now please feel free to chime in.

# cobbler system edit --name=host --kopts="debug=1"
# cobbler system report host | grep options
kernel options        : {'debug': '1'}
kernel options post   : {}
# cobbler system edit --name=host --kopts=""
# cobbler system report host | grep options
kernel options        : {}
kernel options post   : {}

2.0 behavior:

# cobbler system report --name=host  | grep Kernel
Kernel Options : {'igb.LLISize': '128', 'igb.LLIPush': '1', 'mtos_nic': '1', 'pinirq': '1'}
# cobbler system edit --name=host --kopts=''
# cobbler system report --name=host  | grep Kernel
Kernel Options : {'igb.LLISize': '128', 'igb.LLIPush': '1', 'mtos_nic': '1', 'pinirq': '1'}



------------------------------------------------------------------------

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

Indeed, it seems to be doing --in-place by default in the CLI. Can you see that there is a Trac item open on this?

--Michael


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

Reply via email to