silitics / rugpi

An open-source platform empowering you to build innovative devices around customized Linux distributions.
https://rugpi.io
Apache License 2.0
35 stars 1 forks source link

Persisting multiple directories using `[[persist]]` #22

Closed raryanpur closed 6 months ago

raryanpur commented 6 months ago

Is it possible to specify multiple directories using [[persist]] and directory? Maybe as follows?

[[persist]]
directory=/root
directory=/somethinglese

or

[[persist]]
directory=/root

[[persist]]
directory=/somethingelse
koehlma commented 6 months ago

Yes, the latter should work as it is the way to do “arrays of tables” in TOML.