mirror of
https://github.com/kairos-io/immucore.git
synced 2025-09-13 13:40:34 +00:00
Re-enable longer RW_PATHS
Looks like the problem comes from the custom mounts overriding this values Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
@@ -3,9 +3,8 @@ package constants
|
||||
import "errors"
|
||||
|
||||
func DefaultRWPaths() []string {
|
||||
// Default RW_PATHS to mount
|
||||
// If none defined, your system wont even boot probably
|
||||
return []string{"/var", "/etc", "/srv"}
|
||||
// Default RW_PATHS to mount if not overriden by the cos-layout.env file
|
||||
return []string{"/etc", "/root", "/home", "/opt", "/srv", "/usr/local", "/var"}
|
||||
}
|
||||
|
||||
var ErrAlreadyMounted = errors.New("already mounted")
|
||||
|
Reference in New Issue
Block a user