1
0
mirror of https://github.com/rancher/os.git synced 2025-07-01 17:21:50 +00:00

Make the post hook use the system docker

When booting, if the network doesn't come up or the post hook is
needed to complete bringing up the network, you need access to the
baked in images.
This commit is contained in:
Bill Maxwell 2015-03-27 15:58:07 -07:00
parent c326abcbcd
commit c4ca06fb8c

View File

@ -73,7 +73,7 @@ func applyNetworkConfigs(cfg *config.Config) error {
//post run
if cfg.Network.PostRun != nil {
return docker.StartAndWait(config.DOCKER_HOST, cfg.Network.PostRun)
return docker.StartAndWait(config.DOCKER_SYSTEM_HOST, cfg.Network.PostRun)
}
return nil
}