sdt-config - SUSE Driver Tools configuration files
sdt.conf
The sdt command fetches configuration data from the following sources in the following order:
System-wide: $XDG_CONFIG_DIRS/sdt.conf User home config: $XDG_CONFIG_HOME/sdt/sdt/conf sdt.conf file in path specified by –updatedir sdt.conf file in the current working directory
System-wide and user home configurations are obtained from locations defined by the XDG standard. Default are /etc/xdg/sdt.conf and ~/.config/sdt/sdt.conf.
The configuration files are in YAML format and accept command line options specified as option: value pairs. For example:
Multiple instances of the same option can be specified as a YAML list like:
modspecs:
- 'IDE/RAID/SCSI:smartpqi,Driver for Microsemi Smart Family Controller version 0.9.9-100,,scsi_mod scsi_transport_sas,,1'
- 'IDE/RAID/SCSI:qedf,QLogic QEDF 25/40/50/100Gb FCoE Driver,,scsi_mod scsi_transport_fc libfc libfcoe qed,,1'
- 'IDE/RAID/SCSI:qedi,QLogic FastLinQ 4xxxx iSCSI Module,,scsi_mod uio qed scsi_transport_iscsi libiscsi,,1'
instsys-packages:
- mcelog
- hwinfoReference the sdt command man pages for command options
Config files can also be used set up aliases used for option values. for example the following aliases map to file system paths:
aliases:
sles12sp2-x86_64: /data/prod/sles12-sp2/x86_64/DVD1
sles12sp3-x86_64: /data/prod/sles12-sp3/x86_64/DVD1
sles12sp3-ppc64le: /data/prod/sles12-sp3/ppc64e/DVD1When passing sles12sp2-x86_64 as a value to a command option like --base=sles12sp2-x86_64, the value will be expanded to /data/prod/sles12-sp2/x86_64/DVD1