From e854a9cf965f74d5f7aa8ee5eb7a642f9e697c74 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 11 Mar 2019 14:12:17 +0000 Subject: [PATCH] e2e: Expand `useradd`'s `-m` otion into `--create-home` ... for improved readability Signed-off-by: Ian Campbell --- e2e/testdata/Dockerfile.connhelper-ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/testdata/Dockerfile.connhelper-ssh b/e2e/testdata/Dockerfile.connhelper-ssh index 2ac92b7ca4..a97d83104e 100644 --- a/e2e/testdata/Dockerfile.connhelper-ssh +++ b/e2e/testdata/Dockerfile.connhelper-ssh @@ -1,7 +1,7 @@ FROM docker:test-dind RUN apk --no-cache add shadow openssh-server && \ groupadd -f docker && \ - useradd -m --shell /bin/sh penguin && \ + useradd --create-home --shell /bin/sh penguin && \ usermod -aG docker penguin && \ usermod -p $(head -c32 /dev/urandom | base64) penguin && \ ssh-keygen -A