Load elemental config/spec from cloud config (#82)

This commit is contained in:
Itxaka
2023-07-20 15:53:48 +02:00
committed by GitHub
parent fd22840d14
commit 9bff3742c1
11 changed files with 150 additions and 208 deletions

View File

@@ -31,7 +31,7 @@ type Config struct {
func LoadConfig(path ...string) (*Config, error) {
if len(path) == 0 {
path = append(path, "/etc/kairos/agent.yaml", "/etc/elemental/config.yaml")
path = append(path, "/etc/kairos/agent.yaml")
}
cfg := &Config{}