Show sources in config string

and remove directory which is only meant to be used by yip configs (not
user configs read by the kairos-agent).

This needs to be explained in the release notes.

Needs this: https://github.com/kairos-io/kairos-sdk/pull/501

Part of: https://github.com/kairos-io/kairos/issues/2737

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis
2024-09-19 17:04:02 +03:00
parent a8e855b933
commit b0b4618f8f
6 changed files with 21 additions and 34 deletions

View File

@@ -18,9 +18,10 @@ package constants
import (
"errors"
"github.com/gofrs/uuid"
"os"
"strings"
"github.com/gofrs/uuid"
)
const (
@@ -171,7 +172,6 @@ func GetGrubModules() []string {
func GetConfigScanDirs() []string {
return []string{
"/oem",
"/system/oem",
"/usr/local/cloud-config",
"/run/initramfs/live",
"/etc/kairos", // Default system configuration file https://github.com/kairos-io/kairos/issues/2221