From c911f56038bacb2904aad9ecce846ca8e681b5f0 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Fri, 26 Mar 2021 11:23:22 +0700 Subject: [PATCH] Updated post script --- src/build.sh | 4 ++-- src/post-install.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/build.sh b/src/build.sh index 3591ca4..cb7652f 100755 --- a/src/build.sh +++ b/src/build.sh @@ -20,8 +20,8 @@ PRE_INSTALL="./src/pre-install.sh" POST_INSTALL="./src/post-install.sh" mkdir -p $DOCKER_ROOT -MS_ROOT="${DOCKER_ROOT}/microscanner" -mkdir -p $MS_ROOT +# MS_ROOT="${DOCKER_ROOT}/microscanner" +# mkdir -p $MS_ROOT # Load pre-install $PRE_INSTALL diff --git a/src/post-install.sh b/src/post-install.sh index e8fff42..b3e3222 100755 --- a/src/post-install.sh +++ b/src/post-install.sh @@ -23,4 +23,4 @@ echo '%wheel ALL=NOPASSWD: ALL' > /etc/sudoers.d/wheel cat /etc/sudoers.d/wheel # Add an administrator user. -adduser cubetiq wheel \ No newline at end of file +adduser -D -u1000 cubetiq -G wheel \ No newline at end of file