mkdir -p /etc/systemd/system/pvedaemon.service.d
nano /etc/systemd/system/pvedaemon.service.d/http-proxy.conf
[Service]
Environment="HTTP_PROXY=http://192.168.3.3:10808"
Environment="HTTPS_PROXY=http://192.168.3.3:10808"
mkdir -p /etc/systemd/system/pveproxy.service.d
cp /etc/systemd/system/pvedaemon.service.d/http-proxy.conf /etc/systemd/system/pveproxy.service.d/
systemctl daemon-reload
systemctl restart pvedaemon pveproxy
root@pve:~# cat /etc/environment export http_proxy=“http://192.168.3.3:20122”
export https_proxy=“http://192.168.3.3:20122” #no_proxy=“localhost,127.0.0.1,192.168.0.0/16,.local,.proxmox.com”