Skip to content

Commit

Permalink
docs: set the home directory using homedir, not home (#5101)
Browse files Browse the repository at this point in the history
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.

LP: #2047796
  • Loading branch information
ogayot authored and holmanb committed Apr 3, 2024
1 parent f1cdbe7 commit 2c8110b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion doc/examples/cloud-config-user-groups.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tools/.github-cla-signers
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ nicolasbock
nishigori
nkukard
nmeyerhans
ogayot
olivierlemasle
omBratteng
onitake
Expand Down

0 comments on commit 2c8110b

Please sign in to comment.