diff --git a/app/sidero-controller-manager/internal/ipxe/ipxe_server.go b/app/sidero-controller-manager/internal/ipxe/ipxe_server.go index 16a0b524e..2521ec87c 100644 --- a/app/sidero-controller-manager/internal/ipxe/ipxe_server.go +++ b/app/sidero-controller-manager/internal/ipxe/ipxe_server.go @@ -496,6 +496,7 @@ func appendTalosArguments(env *metalv1.Environment) { logDeliveryPrefix := talosconstants.KernelParamLoggingKernel + "=" eventsSinkPrefix := talosconstants.KernelParamEventsSink + "=" +outer: for _, prefix := range []string{ talosConfigPrefix, sideroLinkPrefix, @@ -505,7 +506,7 @@ func appendTalosArguments(env *metalv1.Environment) { for _, arg := range args { if strings.HasPrefix(arg, prefix) { // Environment already has variable, skip it - return + continue outer } }