mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05: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 (cherry picked from commit 2039437c7655c9cd481c6c4ad92b6bc2a945dd14)
This commit is contained in:
parent
ffddfd3631
commit
2bd006237f
1 changed files with 2 additions and 1 deletions
|
|
@ -23,8 +23,9 @@ vm_extra_pre_umount() {
|
|||
lock_passwd: True
|
||||
groups: [wheel]
|
||||
shell: /bin/sh
|
||||
# Currently broken, cloud-init hard-codes to /usr/home/*
|
||||
homedir: /home/ec2-user
|
||||
doas:
|
||||
- permit nopass ec2-user
|
||||
EOF
|
||||
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue