From f14edcdf1d4de2f09ad933c4e60130c05b10d4ef Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Thu, 5 Jun 2025 10:10:25 +0200 Subject: [PATCH] Update zot-registry-install.sh --- install/zot-registry-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/zot-registry-install.sh b/install/zot-registry-install.sh index a86621d0..6a4a4f5f 100644 --- a/install/zot-registry-install.sh +++ b/install/zot-registry-install.sh @@ -24,8 +24,8 @@ chmod +x /usr/bin/zot chown root:root /usr/bin/zot mkdir -p /etc/zot curl -fsSL https://raw.githubusercontent.com/project-zot/zot/refs/heads/main/examples/config-ui.json -o /etc/zot/config.json -PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) -#$STD htpasswd -b -B -c /etc/zot/htpasswd admin "$PASSWORD" +ZOTPASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) +$STD htpasswd -b -B -c /etc/zot/htpasswd admin "$ZOTPASSWORD" msg_ok "Installed Zot Registry" msg_info "Setup Service"