From 27be3cd7b34c9633e87b395cf6982a9aa423f552 Mon Sep 17 00:00:00 2001 From: Sven Dowideit Date: Wed, 30 Aug 2017 09:31:32 +1000 Subject: [PATCH] Remove the hypervisor yml file check, there's a cert problem on first boot after installing Signed-off-by: Sven Dowideit --- init/init.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/init/init.go b/init/init.go index 466bb273..967dba69 100755 --- a/init/init.go +++ b/init/init.go @@ -13,7 +13,6 @@ import ( "syscall" "github.com/docker/docker/pkg/mount" - "github.com/rancher/os/cmd/control/service" "github.com/rancher/os/config" "github.com/rancher/os/dfs" "github.com/rancher/os/log" @@ -486,13 +485,14 @@ func enableHypervisorService(cfg *config.CloudConfig, hypervisorName string) { return } + // Check removed - there's an x509 cert failure on first boot of an installed system // check quickly to see if there is a yml file available - if service.ValidService(serviceName, cfg) { - log.Infof("Setting rancher.services_include. %s=true", serviceName) - if err := config.Set("rancher.services_include."+serviceName, "true"); err != nil { - log.Error(err) - } - } else { - log.Infof("Skipping %s, can't get %s.yml file", serviceName, serviceName) + // if service.ValidService(serviceName, cfg) { + log.Infof("Setting rancher.services_include. %s=true", serviceName) + if err := config.Set("rancher.services_include."+serviceName, "true"); err != nil { + log.Error(err) } + // } else { + // log.Infof("Skipping %s, can't get %s.yml file", serviceName, serviceName) + // } }