Update %package section

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: phracek@xxxxxxxxxx
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux