mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 23:05:54 +00:00
Update zot-install.sh
This commit is contained in:
@@ -18,6 +18,7 @@ RELEASE=$(curl -fsSL https://api.github.com/repos/project-zot/zot/releases/lates
|
||||
curl -fsSL "https://github.com/project-zot/zot/releases/download/${RELEASE}/zot-linux-amd64" -o /usr/bin/zot
|
||||
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 -cb -B /etc/zot/htpasswd admin "$PASSWORD"
|
||||
|
||||
Reference in New Issue
Block a user