fix pw
This commit is contained in:
parent
03eede7548
commit
889d413aad
@ -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 -bnB admin "$PASSWORD" /etc/zot/htpasswd
|
$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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user