Skip to content

Commit a1d2c05

Browse files
authored
chore(lima): increase random password length from 8 to 12 (#6639)
1 parent fe247c8 commit a1d2c05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/lima/coder.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ provision:
9393
# If we are already logged in, nothing to do
9494
coder templates list >/dev/null 2>&1 && exit 0
9595
# Set up initial user
96-
[ ! -e ~/.config/coderv2/session ] && coder login http://localhost:3000 --first-user-username admin --first-user-email admin@coder.com --first-user-password $(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8 | tee ${HOME}/.config/coderv2/password)
96+
[ ! -e ~/.config/coderv2/session ] && coder login http://localhost:3000 --first-user-username admin --first-user-email admin@coder.com --first-user-password $(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c12 | tee ${HOME}/.config/coderv2/password)
9797
# Create an initial template
9898
temp_template_dir=$(mktemp -d)
9999
echo code-server | coder templates init "${temp_template_dir}"

0 commit comments

Comments
 (0)