diff --git a/stages/org.osbuild.cloud-init.meta.json b/stages/org.osbuild.cloud-init.meta.json index acd8eeae..0d27ed46 100644 --- a/stages/org.osbuild.cloud-init.meta.json +++ b/stages/org.osbuild.cloud-init.meta.json @@ -40,6 +40,10 @@ "description": "cloud-init configuration", "minProperties": 1, "properties": { + "ssh_pwauth": { + "type": "boolean", + "description": "enable/disable ssh password authentication" + }, "system_info": { "additionalProperties": false, "type": "object", diff --git a/test/data/stages/cloud-init/b.json b/test/data/stages/cloud-init/b.json index caa18c70..ae328d8f 100644 --- a/test/data/stages/cloud-init/b.json +++ b/test/data/stages/cloud-init/b.json @@ -717,6 +717,7 @@ "options": { "filename": "00-default_user.cfg", "config": { + "ssh_pwauth": false, "system_info": { "default_user": { "name": "ec2-user" diff --git a/test/data/stages/cloud-init/b.mpp.yaml b/test/data/stages/cloud-init/b.mpp.yaml index ed1c5ccc..020758ef 100644 --- a/test/data/stages/cloud-init/b.mpp.yaml +++ b/test/data/stages/cloud-init/b.mpp.yaml @@ -31,6 +31,7 @@ pipelines: options: filename: 00-default_user.cfg config: + ssh_pwauth: false system_info: default_user: name: ec2-user