Hi folks,

I would like to ask you on one thing.
With pykickstart I read anaconda-ks.cfg file.
And I would like to modify %package section from Python script.
I would like to delete some of the groups and some of then add it.

Can you advice me how to do it?

My code snippet looks like:

~~~
from pykickstart.parser import *
....
ks = KickstartParser(makeVersion())
ks.readKickstart(system_ks_path)
ks.handler.packages.add(packages)
~~~

How can I do it?

Greetings

--
Petr Hracek
Software Engineer
Developer Experience
Red Hat, Inc
Mob: +420777056169
email: [email protected]

_______________________________________________
Kickstart-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/kickstart-list

Reply via email to