Skip to content

Commit

Permalink
Belongs to previous commit :P
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales committed May 6, 2024
1 parent 3906a62 commit fa7b95b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@ package config

import (
"fmt"
"github.com/kairos-io/kairos-sdk/state"
"os"
"path/filepath"
"runtime"
"strings"
"unicode"

"github.com/kairos-io/kairos-sdk/state"

"github.com/joho/godotenv"
version "github.com/kairos-io/kairos-agent/v2/internal/common"
"github.com/kairos-io/kairos-agent/v2/pkg/cloudinit"
Expand Down Expand Up @@ -50,6 +51,10 @@ type Install struct {
Active v1.Image `yaml:"system,omitempty" mapstructure:"system"`
Recovery v1.Image `yaml:"recovery-system,omitempty" mapstructure:"recovery-system"`
Passive v1.Image `yaml:"passive,omitempty" mapstructure:"recovery-system"`
GrubDefEntry string `yaml:"grub-entry-name,omitempty" mapstructure:"grub-entry-name"`
ExtraPartitions v1.PartitionList `yaml:"extra-partitions,omitempty" mapstructure:"extra-partitions"`
ExtraDirsRootfs []string `yaml:"extra-dirs-rootfs,omitempty" mapstructure:"extra-dirs-rootfs"`
Force bool `yaml:"force,omitempty" mapstructure:"force"`
}

func NewConfig(opts ...GenericOptions) *Config {
Expand Down

0 comments on commit fa7b95b

Please sign in to comment.