Skip to content

Can jail configuration file arguments written across multiple lines? #51

Answered by Jip-Hop
PackElend asked this question in Q&A
Discussion options

You must be logged in to vote

Jailmaker uses the python configparser library to parse the config file. It supports reading config values across multiple lines. See the Multiline Values example.

I haven't tried it myself but I suppose you can span the systemd_nspawn_user_args= across multiple lines. You may need to add \ at the end of each line (except for the last line) to make it work. I'd say experiment a little and post your findings.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by PackElend
Comment options

You must be logged in to vote
1 reply
@Jip-Hop
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants