Update zot-registry-install.sh

This commit is contained in:
CanbiZ 2025-06-05 10:05:49 +02:00
parent 81aa957dcb
commit 7f0272b2df

View File

@ -25,7 +25,7 @@ chown root:root /usr/bin/zot
mkdir -p /etc/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 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) PASSWORD=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
$STD htpasswd -b -B -c /etc/zot/htpasswd admin "$PASSWORD" #$STD htpasswd -b -B -c /etc/zot/htpasswd admin "$PASSWORD"
msg_ok "Installed Zot Registry" msg_ok "Installed Zot Registry"
msg_info "Setup Service" msg_info "Setup Service"