mirror of
https://github.com/kairos-io/provider-kairos.git
synced 2025-09-12 13:24:34 +00:00
🐛 Debug
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
committed by
Ettore Di Giacinto
parent
7e49f5b916
commit
f0be8785f0
@@ -49,7 +49,7 @@ func Bootstrap(e *pluggable.Event) pluggable.EventResponse {
|
||||
tokenNotDefined := (providerConfig.Kairos != nil && providerConfig.Kairos.NetworkToken == "")
|
||||
|
||||
if providerConfig.Kairos == nil && !providerConfig.K3s.Enabled && !providerConfig.K3sAgent.Enabled {
|
||||
return pluggable.EventResponse{State: "no kairos or k3s configuration. nothing to do"}
|
||||
return pluggable.EventResponse{State: fmt.Sprintf("no kairos or k3s configuration. nothing to do: %s", cfg.Config)}
|
||||
}
|
||||
|
||||
utils.SH("elemental run-stage kairos-agent.bootstrap") //nolint:errcheck
|
||||
|
Reference in New Issue
Block a user