Chris O'Regan wrote: >> A perhaps clearer way is: >> >> cobbler profile edit --name=foo --kopts=delete >> > > I think I have found a bug when trying to clear the repo list from a > profile: > > # cobbler profile edit --name=rhel-5.2-client-i386 --repos=delete > repo delete is not defined > > But this does work (space between quotes): > > # cobbler profile edit --name=rhel-5.2-client-i386 --repos=" " > > # rpm -q cobbler > cobbler-1.2.4-1.el5 > > > Chris > _______________________________________________ > cobbler mailing list > [email protected] > https://fedorahosted.org/mailman/listinfo/cobbler >
Repos is not stored as a hash/dictionary like kernel options and ks_meta, so it does not respond to "delete" Empty string is fine. --Michael _______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
