1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Fix systemd emulation

This commit is contained in:
Darren Shepherd
2015-09-18 22:27:53 -07:00
parent e451abd532
commit 3a3270f2c6
5 changed files with 15 additions and 12 deletions

View File

@@ -140,6 +140,7 @@ func getLaunchConfig(cfg *config.CloudConfig, dockerCfg *config.DockerConfig) (*
launchConfig.DnsConfig.Nameservers = cfg.Rancher.Network.Dns.Nameservers
launchConfig.DnsConfig.Search = cfg.Rancher.Network.Dns.Search
launchConfig.Environment = dockerCfg.Environment
launchConfig.EmulateSystemd = true
if !cfg.Rancher.Debug {
launchConfig.LogFile = config.SYSTEM_DOCKER_LOG