1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 14:48:55 +00:00

Working out why linuxkit crashes in bootup by labeling init stages

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
Sven Dowideit
2017-05-03 09:45:58 +10:00
parent 70ea28669a
commit aef937609e
5 changed files with 99 additions and 65 deletions

View File

@@ -68,8 +68,10 @@ func bootstrap(cfg *config.CloudConfig) error {
defer stopDocker(c)
_, err = config.ChainCfgFuncs(cfg,
loadImages,
bootstrapServices)
[]config.CfgFuncData{
config.CfgFuncData{"bootstrap loadImages", loadImages},
config.CfgFuncData{"bootstrap Services", bootstrapServices},
})
return err
}
@@ -82,7 +84,9 @@ func runCloudInitServices(cfg *config.CloudConfig) error {
defer stopDocker(c)
_, err = config.ChainCfgFuncs(cfg,
loadImages,
runCloudInitServiceSet)
[]config.CfgFuncData{
config.CfgFuncData{"cloudinit loadImages", loadImages},
config.CfgFuncData{"cloudinit Services", runCloudInitServiceSet},
})
return err
}