aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorMina Galić <me+git@igalic.co>2024-04-11 20:16:58 +0000
committerColin Percival <cperciva@FreeBSD.org>2024-04-11 21:12:16 +0000
commit2039437c7655c9cd481c6c4ad92b6bc2a945dd14 (patch)
tree06db2478aea4fdd0c45a6bc6dec05cda2dad782c /release
parentd00c64bb2347cc620d31a178c7755aa7e594f065 (diff)
downloadsrc-2039437c7655c9cd481c6c4ad92b6bc2a945dd14.tar.gz
src-2039437c7655c9cd481c6c4ad92b6bc2a945dd14.zip
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
Diffstat (limited to 'release')
-rw-r--r--release/tools/ec2-cloud-init.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/tools/ec2-cloud-init.conf b/release/tools/ec2-cloud-init.conf
index 2dd4df390fa3..7682d635b1d6 100644
--- a/release/tools/ec2-cloud-init.conf
+++ b/release/tools/ec2-cloud-init.conf
@@ -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