Writes bootcmd
This commit is contained in:
@@ -4,6 +4,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"example.com/monok8s/pkg/node"
|
||||
"example.com/monok8s/pkg/node/uboot"
|
||||
)
|
||||
|
||||
type Registry struct {
|
||||
@@ -30,7 +31,8 @@ func NewRegistry(ctx *node.NodeContext) *Registry {
|
||||
"ConfigureDefaultCNI": node.ConfigureDefaultCNI,
|
||||
"ConfigureHostname": node.ConfigureHostname(netCfg),
|
||||
"ConfigureMgmtInterface": node.ConfigureMgmtInterface(netCfg),
|
||||
"ConfigureUBootCommands": node.ConfigureUBootCommands,
|
||||
"ConfigureABBoot": uboot.ConfigureABBoot,
|
||||
"ConfigureUBootCommands": uboot.ConfigureUBootCommands,
|
||||
"DetectLocalClusterState": node.DetectLocalClusterState,
|
||||
"EnsureIPForward": node.EnsureIPForward,
|
||||
"ReconcileControlPlane": node.ReconcileControlPlane,
|
||||
|
||||
@@ -137,6 +137,11 @@ func NewRunner(cfg *monov1alpha1.MonoKSConfig) *Runner {
|
||||
Name: "Ensure fw_env config and u-boot-tools availablilty",
|
||||
Desc: "Install or generate /etc/fw_env.config for U-Boot environment access",
|
||||
},
|
||||
{
|
||||
RegKey: "ConfigureABBoot",
|
||||
Name: "Configure A/B booting environment",
|
||||
Desc: "Make A/B booting possible",
|
||||
},
|
||||
{
|
||||
RegKey: "ApplyControlAgentDaemonSetResources",
|
||||
Name: "Apply daemonset for control agent",
|
||||
|
||||
Reference in New Issue
Block a user