From 94f0079599ab6aa5191e47953abd43d1447c08e3 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 4 Jul 2022 14:45:39 +0200 Subject: setup-alpine: lbu add home directory for created user make sure that we include the home directory to created user fixes https://gitlab.alpinelinux.org/alpine/alpine-conf/-/issues/10517 --- setup-alpine.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'setup-alpine.in') diff --git a/setup-alpine.in b/setup-alpine.in index ad3c430..a49dd51 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -233,6 +233,11 @@ if [ "$quick" = 1 ]; then fi setup-user ${USERSSHKEY+-k "$USERSSHKEY"} ${USEROPTS:--a -g 'audio video netdev'} +for i in "$ROOT"home/*; do + if [ -d "$i" ]; then + lbu add $i + fi +done setup-sshd ${SSHDOPTS} if is_xen_dom0; then -- cgit v1.2.3