mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-18 07:50:38 +00:00
Load elemental config/spec from cloud config (#82)
This commit is contained in:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user