mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-04 15:00:16 +00:00
Prometheus PVE Exporter: Add --default-timeout=300
to pip install commands (#1950)
This commit is contained in:
parent
57b37b1e16
commit
19911f5b81
@ -37,7 +37,7 @@ function update_script() {
|
||||
msg_ok "Stopped ${APP}"
|
||||
|
||||
msg_info "Updating ${APP}"
|
||||
pip install prometheus-pve-exporter --upgrade --root-user-action=ignore &>/dev/null
|
||||
pip install prometheus-pve-exporter --default-timeout=300 --upgrade --root-user-action=ignore &>/dev/null
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
msg_info "Starting ${APP}"
|
||||
|
@ -28,7 +28,7 @@ rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED
|
||||
msg_ok "Setup Python3"
|
||||
|
||||
msg_info "Installing Prometheus Proxmox VE Exporter"
|
||||
python3 -m pip install --quiet --root-user-action=ignore prometheus-pve-exporter
|
||||
python3 -m pip install --default-timeout=300 --quiet --root-user-action=ignore prometheus-pve-exporter
|
||||
mkdir -p /opt/prometheus-pve-exporter
|
||||
cat <<EOF > /opt/prometheus-pve-exporter/pve.yml
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user