mirror of
https://github.com/rancher/os.git
synced 2025-09-16 06:59:12 +00:00
Fix sbin symlink and bootstrap services
This commit is contained in:
@@ -76,7 +76,7 @@ func newProject(name string, cfg *config.CloudConfig) (*project.Project, error)
|
||||
|
||||
func addServices(p *project.Project, cfg *config.CloudConfig, enabled map[string]string, configs map[string]*project.ServiceConfig) {
|
||||
// Note: we ignore errors while loading services
|
||||
for name, serviceConfig := range cfg.Rancher.Services {
|
||||
for name, serviceConfig := range configs {
|
||||
hash := project.GetServiceHash(name, *serviceConfig)
|
||||
|
||||
if enabled[name] == hash {
|
||||
|
Reference in New Issue
Block a user