stages/logind: write only one drop-in file

Instead of supporting writing an arbitrary number of configuration
files, just write one. This makes the stage and its schema clearer
and simpler. If more than one config file is needed, the stage can
be repeated multiple times. It is also more flexible since we can
in the future specify additional options at the top level which
will then be per-file, like a top level comment.
This commit is contained in:
Christian Kellner 2021-07-21 09:42:27 +00:00
parent 79c6e65976
commit 9a786ce4fc
3 changed files with 37 additions and 51 deletions

View file

@ -457,11 +457,10 @@
{
"name": "org.osbuild.systemd-logind",
"options": {
"filename": "10-ec2-getty-fix.conf",
"config": {
"10-ec2-getty-fix.conf": {
"Login": {
"NAutoVTs": 0
}
"Login": {
"NAutoVTs": 0
}
}
}

View file

@ -32,11 +32,10 @@
{
"name": "org.osbuild.systemd-logind",
"options": {
"filename": "10-ec2-getty-fix.conf",
"config": {
"10-ec2-getty-fix.conf": {
"Login": {
"NAutoVTs": 0
}
"Login": {
"NAutoVTs": 0
}
}
}