mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-07-16 09:15:57 +00:00
Add comment above method
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
a45cee2ebc
commit
d3c864cd19
@ -176,6 +176,11 @@ func GetYipConfigDirs() []string {
|
||||
return append(GetUserConfigDirs(), "/system/oem")
|
||||
}
|
||||
|
||||
// GetUserConfigDirs returns all the directories that might have configuration
|
||||
// supplied by the user. They are in an order which allows the users to override
|
||||
// baked-in configuration (e.g. in livecd, under /run/initramfs/live) with
|
||||
// configuration coming from datasource (e.g. a datasource cdrom, written under /oem).
|
||||
// That's why writable paths are last.
|
||||
func GetUserConfigDirs() []string {
|
||||
return []string{
|
||||
"/run/initramfs/live",
|
||||
|
Loading…
Reference in New Issue
Block a user