Skip to content

Commit

Permalink
Fix order or directories
Browse files Browse the repository at this point in the history
so that we allow users to override baked-in livecd configuration with
config coming from datasource (written in /oem)

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
  • Loading branch information
jimmykarily committed Sep 26, 2024
1 parent d618ff7 commit a45cee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,11 @@ func GetYipConfigDirs() []string {

func GetUserConfigDirs() []string {
return []string{
"/oem",
"/usr/local/cloud-config",
"/run/initramfs/live",
"/etc/kairos", // Default system configuration file https://github.com/kairos-io/kairos/issues/2221
"/etc/elemental", // for backwards compatibility
"/usr/local/cloud-config",
"/oem",
}
}

Expand Down

0 comments on commit a45cee2

Please sign in to comment.