Skip to content

Commit

Permalink
Fix indentaion, remove bug where base user not added in 64bit. Introd…
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Oct 25, 2022
1 parent 15e4062 commit 91bdb6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/base/config
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ if [ "${BASE_DISTRO}" == "ubuntu" ]; then
[ -n "$BASE_ADD_USER" ] || BASE_ADD_USER=yes
# When adding a base user which password to use
[ -n "$BASE_USER_PASSWORD" ] || BASE_USER_PASSWORD=ubuntu
elif [ "${BASE_DISTRO}" == "raspios64" ]; then
elif [ "${BASE_DISTRO}" == "raspios64" ]; then
[ -n "$BASE_ZIP_IMG" ] || BASE_ZIP_IMG=`ls -t $BASE_IMAGE_PATH/*-{raspbian,raspios}-*-arm64-*.{zip,7z,xz} | head -n 1`
[ -n "$BASE_ADD_USER" ] || BASE_ADD_USER=no
else
# Default image raspbian
[ -n "$BASE_ZIP_IMG" ] || BASE_ZIP_IMG=`ls -t $BASE_IMAGE_PATH/*-{raspbian,raspios}*.{zip,7z,xz} | head -n 1`
Expand Down

0 comments on commit 91bdb6d

Please sign in to comment.