fix(fleet): Drop coreos.fleet from cloud-config

This commit is contained in:
Brian Waldon
2014-03-19 14:43:25 -07:00
parent 9757705ae8
commit 09c473a6cb
3 changed files with 0 additions and 30 deletions

View File

@@ -14,7 +14,6 @@ type CloudConfig struct {
SSHAuthorizedKeys []string `yaml:"ssh_authorized_keys"`
Coreos struct {
Etcd EtcdEnvironment
Fleet struct{ Autostart bool }
Units []system.Unit
}
WriteFiles []system.File `yaml:"write_files"`
@@ -137,14 +136,5 @@ func Apply(cfg CloudConfig, env *Environment) error {
system.StartUnits(cfg.Coreos.Units)
}
if cfg.Coreos.Fleet.Autostart {
err := system.StartUnitByName("fleet.service")
if err == nil {
log.Printf("Started fleet service.")
} else {
return err
}
}
return nil
}