mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-08 12:29:27 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user