From 37e392f562c9ae1a6e48e4eae29539eb7caa2149 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 26 Mar 2024 14:21:14 +0100 Subject: [PATCH 1/2] examples: set the home directory using homedir, not home According to the JSON schema, the "homedir" directive should be used to set a user's home directory. However, we use "home" in a documented example. Supplying the example cloud-config to cloud-init schema fails with: Additional properties are not allowed ('home' was unexpected), Fixed by replacing "home" with "homedir" in the example. Signed-off-by: Olivier Gayot --- doc/examples/cloud-config-user-groups.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/examples/cloud-config-user-groups.txt b/doc/examples/cloud-config-user-groups.txt index 87fc52e8be1..d9f826578cf 100644 --- a/doc/examples/cloud-config-user-groups.txt +++ b/doc/examples/cloud-config-user-groups.txt @@ -142,7 +142,7 @@ users: # default_user: # name: Ubuntu # plain_text_passwd: 'ubuntu' -# home: /home/ubuntu +# homedir: /home/ubuntu # shell: /bin/bash # lock_passwd: True # gecos: Ubuntu From ce45c27df37c06d5564f8e29c41bf77c9820e8a1 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Tue, 26 Mar 2024 14:40:20 +0100 Subject: [PATCH 2/2] contributor: add ogayot Signed-off-by: Olivier Gayot --- tools/.github-cla-signers | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index bc99853c29f..e7d23428fd1 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -124,6 +124,7 @@ nicolasbock nishigori nkukard nmeyerhans +ogayot olivierlemasle omBratteng onitake