-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
please be so kind to give a working example for config.ini. I'm sure I'm thinking too complicated but so far the README.md only tells us that we can set common parameters in it, but not the actual variable names for those parameters. in fact, it is not mentioned anywhere at all.
also, if it were an .ini format, you'd need a [section] heading, which is also not known.
The parser in fact expects one though:
File "/usr/lib64/python3.6/configparser.py", line 1080, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
the dnssservers script help also mentions one can set multiple, but does not inform about the correct separators. should one try i.e. a comma, they'll get a message that the format (printed to screen as parsed) they used is not a supported one. They do not get any info about what makes a supported format.
Metadata
Metadata
Assignees
Labels
No labels