SystemctlGetDefault - command systemctl get-default
Parser to parse the output of command systemctl get-default
- class insights.parsers.systemctl_get_default.SystemctlGetDefault(context, extra_bad_lines=None)[source]
Bases:
CommandParser
Class for parsing
systemctl get-default
command output.Sample output for command:
graphical.target
Examples
>>> type(systemctl_get_default) <class 'insights.parsers.systemctl_get_default.SystemctlGetDefault'> >>> systemctl_get_default.default_target 'graphical.target'
- Raises:
SkipComponent -- When nothing needs to parse