Skip to content

Commit

Permalink
Scan /oem the last one
Browse files Browse the repository at this point in the history
In case there is bundled configs, plus userdata, the userdata should be read at the end to be able to override any existing configs bundled with the system, as userdata is more dynamic.
  • Loading branch information
Itxaka authored Sep 25, 2024
1 parent 9d63bae commit 803d54c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ func GetGrubModules() []string {

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

0 comments on commit 803d54c

Please sign in to comment.