/etc/firmware/firmware.conf is in firmware-tools-common 2.1.14-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | # vim:et:ts=4:sw=4:tw=80
#
# INI file.
# This file is read by python ConfigParser module. You can do
# variable interpolation using python-style string interpolation rules.
[main]
# this section has overarching options that should apply across the board
storage_topdir=%(datadir)s/firmware/
plugin_config_dir=%(pkgconfdir)s/firmware.d/
plugin_search_path=%(pkgdatadir)s/plugins
# Automatically install BIOS updates when an RPM BIOS Update file is installed
# can be overridden in each section (bios, bmc, lsi, etc)
# values: 'auto', 'manual'
# default: 'manual'
rpm_mode=manual
[plugin:bootstrap_pci]
# This provides the raw lspci inventory that is used to find payloads for pci
# cards.
enabled=1
module=firmwaretools.bootstrap_pci
[plugin:mock_inventory_bootstrap]
# this module provides fake data for testing purposes.
# only activated when --fake-mode is passed
enabled=1
module=firmwaretools.mockpackage
[plugin:mock_repository]
# this module provides fake data for testing purposes.
# only activated when --fake-mode is passed
enabled=1
module=firmwaretools.mockrepository
# command plugins
[plugin:bootstrap_cmd]
enabled=1
module=bootstrap_cmd
[plugin:inventory_cmd]
enabled=1
module=inventory_cmd
[plugin:update_cmd]
enabled=1
module=update_cmd
[plugin:listplugins_cmd]
enabled=1
module=listplugins_cmd
# loggers
[logger_root]
level: NOTSET
handlers: unadorned_console
[logger_ft]
level: NOTSET
handlers:
qualname: firmwaretools
[logger_verbose]
level: NOTSET
handlers:
qualname: verbose
[logger_trace]
level: NOTSET
handlers:
qualname: trace
[logger_updates]
level: NOTSET
handlers: updatelog
qualname: ftupdates
# logging configuration
[formatters]
keys: detailed,simple,unadorned,time
[handlers]
keys: unadorned_console,updatelog
[loggers]
keys: root,ft,verbose,trace,updates
[formatter_unadorned]
format: %(message)s
[formatter_simple]
format: %(levelname)s: %(message)s
[formatter_time]
format: %(asctime)s: %(message)s
;useful for debugging:
[formatter_detailed]
format: %(levelname)s %(filename)s, Line: %(lineno)d: %(message)s
[handler_unadorned_console]
class: StreamHandler
args: []
formatter: unadorned
level: INFO
[handler_updatelog]
class: FileHandler
args: ['/var/log/firmware-updates.log','a', None,1]
formatter: time
level: DEBUG
|