2018-10-07 10:48:25 +00:00
|
|
|
# out-of-tree configuration file
|
|
|
|
# docs at https://out-of-tree.io
|
2024-02-20 14:30:17 +00:00
|
|
|
name = "module_example"
|
2018-10-07 10:48:25 +00:00
|
|
|
type = "module"
|
|
|
|
|
2023-05-18 18:13:09 +00:00
|
|
|
[[targets]]
|
2018-10-07 10:48:25 +00:00
|
|
|
# Can be Ubuntu/CentOS/Debian/etc.
|
2023-05-18 16:07:24 +00:00
|
|
|
distro = { id = "Ubuntu", release = "16.04" }
|
2018-10-07 10:48:25 +00:00
|
|
|
# regex for `uname -r`
|
|
|
|
# See also: regex-golang.appspot.com
|
2023-05-18 18:48:09 +00:00
|
|
|
kernel = { regex = "4[.]4[.]0-70-.*" }
|
2018-10-07 10:48:25 +00:00
|
|
|
|
2023-05-18 18:13:09 +00:00
|
|
|
# [[targets]] may be defined unlimited number of times
|
|
|
|
[[targets]]
|
2023-05-18 16:07:24 +00:00
|
|
|
distro = { id = "Ubuntu", release = "18.04" }
|
2018-10-07 10:48:25 +00:00
|
|
|
# Also you can use only one kernel
|
2023-05-18 18:48:09 +00:00
|
|
|
kernel = { regex = "4[.]15[.]0-(24|29)-generic" }
|
2018-11-28 23:53:47 +00:00
|
|
|
|
2023-05-18 18:13:09 +00:00
|
|
|
[[targets]]
|
2023-05-18 16:07:24 +00:00
|
|
|
distro = { id = "Ubuntu", release = "18.04" }
|
2018-11-28 23:53:47 +00:00
|
|
|
# Also you can use only one kernel
|
2023-05-18 18:48:09 +00:00
|
|
|
kernel = { regex = "4[.]15[.]0-23-generic" }
|
2019-08-20 18:57:45 +00:00
|
|
|
|
2023-05-18 18:13:09 +00:00
|
|
|
[[targets]]
|
2023-05-18 16:07:24 +00:00
|
|
|
distro = { id = "CentOS", release = "7" }
|
2023-05-18 18:48:09 +00:00
|
|
|
kernel = { regex = "3[.]10[.]0-862.el7.x86_64" }
|