Skip to content

Commit 840e898

Browse files
committed
Update documentation
1 parent c64e487 commit 840e898

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ gem install oxidized-script # Script-based input/output extensions
101101
```
102102

103103
### Rocky Linux, Red Hat Enterprise Linux
104-
These instructions has been verified on Rocky Linux 9.3 and Fedora.
104+
These instructions has been verified on Rocky Linux 9, Rocky Linux 10 and Fedora.
105105

106106
On Rocky Linux 9, you need to install/enable EPEL, CRB and Ruby 3.1:
107107
```shell

docs/Configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,13 @@ using the following substitution templates:
495495
- `%{minute}`: current minute, zero-padded
496496
- `%{second}`: current second, zero-padded
497497

498+
Example:
499+
```yaml
500+
vars:
501+
metadata: true
502+
metadata_top: "%{comment}Model: %{model}; Device %{name} [%{ip}] at %{year}-%{month}-%{day} %{hour}:%{minute}:%{second}\n"
503+
```
504+
498505
### Customize metadata in models
499506
When writing a custom metadata for a model, you can default to
500507
`vars("metadata_*")` or the model default. You need to interpolate the strings

0 commit comments

Comments
 (0)