744e13
# Tuned rules for recommend_profile.
744e13
#
744e13
# Syntax:
744e13
# [PROFILE1]
744e13
# KEYWORD11=RE11
744e13
# KEYWORD21=RE12
744e13
#
744e13
# [PROFILE2]
744e13
# KEYWORD21=RE21
744e13
# KEYWORD22=RE22
744e13
744e13
# KEYWORD can be:
744e13
# virt            - for RE to match output of virt-what
744e13
# system          - for RE to match content of /etc/system-release-cpe
744e13
# process         - for RE to match running processes. It can have arbitrary
744e13
#                   suffix, all process* lines have to match for the PROFILE
744e13
#                   to match (i.e. the AND operator)
744e13
# /FILE           - for RE to match content of the FILE, e.g.:
744e13
#                   '/etc/passwd=.+'. If file doesn't exist, its RE will not
744e13
#                   match.
744e13
# chassis_type    - for RE to match the chassis type as reported by dmidecode
744e13
# syspurpose_role - for RE to match the system role as reported by syspurpose
744e13
744e13
# All REs for all KEYWORDs have to match for PROFILE to match (i.e. the AND operator).
744e13
# If 'virt' or 'system' is not specified, it matches for every string.
744e13
# If 'virt' or 'system' is empty, i.e. 'virt=', it matches only empty string (alias for '^$').
744e13
# If several profiles matched, the first match is taken.
744e13
#
744e13
# Limitation:
744e13
# Each profile can be specified only once, because there cannot be
744e13
# multiple sections in the configuration file with the same name
744e13
# (ConfigObj limitation).
744e13
# If there is a need to specify the profile multiple times, unique
744e13
# suffix like ',ANYSTRING' can be used. Everything after the last ','
744e13
# is stripped by the parser, e.g.:
744e13
#
744e13
# [balanced,1]
744e13
# /FILE1=RE1
744e13
#
744e13
# [balanced,2]
744e13
# /FILE2=RE2
744e13
#
744e13
# This will set 'balanced' profile in case there is FILE1 matching RE1 or
744e13
# FILE2 matching RE2 or both.
744e13
744e13
[atomic-host]
744e13
virt=
744e13
syspurpose_role=.*atomic.*
744e13
744e13
[atomic-guest]
744e13
virt=.+
744e13
syspurpose_role=.*atomic.*
744e13
744e13
[virtual-guest]
744e13
virt=.+
744e13
744e13
[balanced]
744e13
syspurpose_role=(.*(desktop|workstation).*)|^$
744e13
chassis_type=.*(Notebook|Laptop|Portable).*
744e13
744e13
[throughput-performance]