Add /etc/environment to systemd unit

To use default environment variable such as HTTP,HTTPS and NO proxy
This fix the curling of etcd.discovery.io failing when initiated by
magnum-conductor

Closes-Bug: #1648530
Change-Id: Iaed5d7446f50874e265b7e62a5ac9935ec815e52
This commit is contained in:
ArchiFleKs 2016-12-08 16:46:07 +01:00 committed by ArchiFleKs
parent 95d70dbf25
commit 6572f04a13
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ After=network.target
[Service]
Type=simple
EnvironmentFile=/etc/environment
User={{ system_user }}
Group={{ system_group }}