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:
parent
79c6e65976
commit
9a786ce4fc
3 changed files with 37 additions and 51 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue