Atualizar templates/proxmox-prometheus-pve-exporter/pve-exporter.sh

This commit is contained in:
Halbe Bruno 2025-02-16 17:40:37 -03:00
parent 1e0c962485
commit 1a7f8ef540

View File

@ -8,7 +8,9 @@ useradd -s /bin/false pve-exporter
apt update && apt install python3-venv python3-setuptools python3-dev python3-pip libffi-dev libssl-dev build-essential -y && apt install python3-pip -y
# Crie e ative o venv, instale o prometheus-pve-exporter
python3 -m venv /opt/prometheus-pve-exporter source /opt/prometheus-pve-exporter/bin/activate
python3 -m venv /opt/prometheus-pve-exporter \
source /opt/prometheus-pve-exporter/bin/activate
pip install prometheus-pve-exporter