mirror of
https://github.com/rancher/os.git
synced 2025-09-01 06:40:31 +00:00
Fix loading network files from ros service
compose commands
This commit is contained in:
@@ -98,7 +98,11 @@ func SysInit() error {
|
||||
_, err = config.ChainCfgFuncs(cfg,
|
||||
loadImages,
|
||||
func(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
||||
return cfg, compose.RunServices(cfg)
|
||||
p, err := compose.GetProject(cfg, false)
|
||||
if err != nil {
|
||||
return cfg, err
|
||||
}
|
||||
return cfg, p.Up()
|
||||
},
|
||||
func(cfg *config.CloudConfig) (*config.CloudConfig, error) {
|
||||
syscall.Sync()
|
||||
|
Reference in New Issue
Block a user