Hi

I am struggling a little bit with CV filter rules. I want to filter out 
(exclude) all kernel modules. Kernel module packages are named like this:

kmod-bnx2x
kmod-oracleasm
kmod-megaraid_sas
kmod-qed-firmware

and so on. But there is also kmod and kmod-libs packages which are not 
actually kernel modules but tools and binaries to manage kernel modules so 
I want to leave these.

According to Red Hat Satellite 6 documentation:

Filters provide a mechanism to prevent packages from being promoted to 
> subsequent environments. You can use package names or *regular 
> expressions* in the filter to create the rules to blacklist packages. 
> Then you can associate the filter to entire products or individual 
> repositories within any product.


 filter rules can be created using regular expression. So I created this 
exclude filter rule:


(?!kmod-libs)(kmod-.+)

This should match all kmod-* packages except kmod and kmod-libs. 
Unfortunatelly this does not work and all kmod-* packages are included.

Does anyone has any idea why regex does not work? Or perhaps there is 
another way to approach this issue?

Edgars

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to