stages/logind: configuration_files → config

Rename the `configuration_files` key to `config` key.
This commit is contained in:
Christian Kellner 2021-07-21 11:38:33 +02:00
parent 9f1d97a8b7
commit 79c6e65976
3 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
"""
Configure systemd-logind
The 'configuration_dropins' option allows to create systemd-logind configuration
The 'config' option allows to create one or more systemd-logind configuration
drop-in files in `/usr/lib/systemd/logind.conf.d`. Value of this option is
an dictionary with keys specifying the name od the `.conf` drop-in configuration
file to create. The dictionary must have at least one `.conf` file defined.
@ -28,7 +28,7 @@ import osbuild.api
SCHEMA = r"""
"additionalProperties": false,
"properties": {
"configuration_dropins": {
"config": {
"additionalProperties": false,
"type": "object",
"description": "systemd-logind configuration drop-ins.",
@ -84,7 +84,7 @@ def create_configuration_dropins(tree, configuration_dropins_options):
def main(tree, options):
configuration_dropins_options = options.get("configuration_dropins", {})
configuration_dropins_options = options.get("config", {})
create_configuration_dropins(tree, configuration_dropins_options)

View file

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

View file

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