aboutsummaryrefslogtreecommitdiffstats
path: root/tests/sosreport_pexpect.py
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2018-05-26 20:35:33 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-06-20 18:01:21 +0100
commitb0dca512087d704d7f0bfa7e24e71f8c3c1cd8e5 (patch)
tree43c3cf01872d13cb86b18509e3bd9aa9d2591b41 /tests/sosreport_pexpect.py
parenta07fd4f5cb374d88fb1093200020cf8e45ccd916 (diff)
downloadsos-b0dca512087d704d7f0bfa7e24e71f8c3c1cd8e5.tar.gz
[sos] add automatic preset detection infrastructure
Add a new special value for the --preset argument, 'auto', which enables automatic detection of the preset identifier string by the policy class. A new method, probe_preset() is added which should be implemented by derived classes of Policy to return a ProductDefaults() object initialised appropriately for the running preset. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'tests/sosreport_pexpect.py')
0 files changed, 0 insertions, 0 deletions