From a1d2c057a29d5a9de9596680a4cd792a5026e7b1 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Thu, 16 Mar 2023 18:42:30 +0000 Subject: [PATCH] chore(lima): increase random password length from 8 to 12 (#6639) --- examples/lima/coder.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lima/coder.yaml b/examples/lima/coder.yaml index f2636d2039..c806051067 100644 --- a/examples/lima/coder.yaml +++ b/examples/lima/coder.yaml @@ -93,7 +93,7 @@ provision: # If we are already logged in, nothing to do coder templates list >/dev/null 2>&1 && exit 0 # Set up initial user - [ ! -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) + [ ! -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) # Create an initial template temp_template_dir=$(mktemp -d) echo code-server | coder templates init "${temp_template_dir}"