1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 22:32:14 +00:00

Early cloud-init

This commit is contained in:
Josh Curl
2016-11-09 11:08:30 -08:00
parent 72f7f9a572
commit 13b34a6668
18 changed files with 312 additions and 249 deletions

View File

@@ -41,9 +41,7 @@ func (s *Service) DependentServices() []project.ServiceRelationship {
}
if s.requiresUserDocker() {
// Linking to cloud-init is a hack really. The problem is we need to link to something
// that will trigger a reload
rels = appendLink(rels, "cloud-init", false, s.project)
rels = appendLink(rels, "docker", false, s.project)
} else if s.missingImage() {
rels = appendLink(rels, "network", false, s.project)
}