mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
ec2: homedir bug fixed in 24.1.4
This bug fix is due to be released in Quarterly: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275896 While here, overwrite the `doas` stanza, which needs to correspond to the user that we are creating. MFC after: 5 days Sponsored by: The FreeBSD Foundation Pull Request: https://github.com/freebsd/freebsd-src/pull/1163
This commit is contained in:
parent
d00c64bb23
commit
2039437c76
@ -23,8 +23,9 @@ vm_extra_pre_umount() {
|
|||||||
lock_passwd: True
|
lock_passwd: True
|
||||||
groups: [wheel]
|
groups: [wheel]
|
||||||
shell: /bin/sh
|
shell: /bin/sh
|
||||||
# Currently broken, cloud-init hard-codes to /usr/home/*
|
|
||||||
homedir: /home/ec2-user
|
homedir: /home/ec2-user
|
||||||
|
doas:
|
||||||
|
- permit nopass ec2-user
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user