On Sun, Jun 28, 2009 at 03:24:01PM -0500, James Cammarata wrote:
>
> Yes, ! suppresses the meta variable from being used by Cheetah, ~ deletes
> it from the list. Be sure to use --in-place when doing this, otherwise you
> will erase all meta variables. The ~ also works in kopts, kopts-post, etc.
Any idea on why deletion doesnt work here?
# cobbler system edit --name=chhorn_tester3 --ksmeta='aaa bbb ccc'
# cobbler system report --name=chhorn_tester3|grep meta
ks metadata : {'aaa': None, 'bbb': None, 'ccc': None}
# cobbler system edit --name=chhorn_tester3 --in-place --ksmeta='~aaa'
# cobbler system report --name=chhorn_tester3|grep meta
ks metadata : {'aaa': None, 'bbb': None, 'ccc': None, '~aaa': None}
# rpm -q cobbler
cobbler-1.6.6-1.el5
This is on rhel5 amd64.
Until today usual ksmeta edit cyle was
- output current values
- set all the new ones including changed ones with 'cobbler system edit'
Christian
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler