You are actually doing it wrong. You should try the following way.
%packages
@group1
@group2 --nodefaults
@group3 --optional
package1
package2
-package3
Hello,
I’m working on Kickstart scripts targeted towards RHEL 5/6/7 and I would like to make them all as portable and reusable as possible. I understand some options and flags were added in newer releases of Anaconda but I cannot find documentation stating which options were added in which Anaconda version. A “works with RHEL {version}” would also help.
My current question is this, for package selection I would like to also install optional packages using the --optional parameter at %packages --optional but for a RHEL6 installs Anaconda throws the error “no such option: --optional”
Is the --optional parameter not available for RHEL6 installs?
######################
# Package Selection #
######################
#Core Packages
%packages --optional
@core
@base
@Compatibility libraries
@Desktop
@Development tools
@General Purpose Desktop
@Server Platform Development
@X Window System
ntp
Thanks,
Brandon
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list