Update zot-registry-install.sh
This commit is contained in:
parent
694788e901
commit
f14edcdf1d
@ -24,8 +24,8 @@ chmod +x /usr/bin/zot
|
|||||||
chown root:root /usr/bin/zot
|
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)
|
ZOTPASSWORD=$(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 "$ZOTPASSWORD"
|
||||||
msg_ok "Installed Zot Registry"
|
msg_ok "Installed Zot Registry"
|
||||||
|
|
||||||
msg_info "Setup Service"
|
msg_info "Setup Service"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user