mirror of
https://github.com/clearlinux/koji-setup-scripts.git
synced 2026-08-19 04:38:06 +00:00
Quote systemd environment variables for proxy
Allow values for proxy variables to contain spaces Signed-off-by: George T Kramer <george.t.kramer@intel.com>
This commit is contained in:
@@ -50,9 +50,9 @@ if env | grep -q proxy; then
|
||||
mkdir -p /etc/systemd/system/kojid.service.d
|
||||
cat > /etc/systemd/system/kojid.service.d/00-proxy.conf <<- EOF
|
||||
[Service]
|
||||
Environment=http_proxy=$http_proxy
|
||||
Environment=https_proxy=$https_proxy
|
||||
Environment=no_proxy=$no_proxy
|
||||
Environment="http_proxy=$http_proxy"
|
||||
Environment="https_proxy=$https_proxy"
|
||||
Environment="no_proxy=$no_proxy"
|
||||
EOF
|
||||
systemctl daemon-reload
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user