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:
parent
c326abcbcd
commit
c4ca06fb8c
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user