RearLocalConf - File /etc/rear/local.conf
- class insights.parsers.rear_conf.RearLocalConf(context)[source]
Bases:
TextFileOutput
Parses content of “/etc/rear/local.conf”.
Typical content of “/etc/rear/local.conf” is:
BACKUP_RESTORE_MOVE_AWAY_FILES=( /boot/grub/grubenv /boot/grub2/grubenv )
Examples
>>> type(local_conf) <class 'insights.parsers.rear_conf.RearLocalConf'> >>> local_conf.lines[0] == 'BACKUP_RESTORE_MOVE_AWAY_FILES=( /boot/grub/grubenv /boot/grub2/grubenv )' True