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:
parent
95d70dbf25
commit
6572f04a13
|
@ -7,6 +7,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
EnvironmentFile=/etc/environment
|
||||
User={{ system_user }}
|
||||
Group={{ system_group }}
|
||||
|
||||
|
|
Loading…
Reference in New Issue