mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-06-03 01:44:53 +00:00
Belongs to previous commit :P
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
3906a625d0
commit
fa7b95bee2
@ -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"
|
||||
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user