mirror of
https://github.com/rancher/os.git
synced 2025-09-15 14:40:51 +00:00
Mount the boot partition when booting
Also update StateDir and OemDir for better clarity
This commit is contained in:
@@ -22,7 +22,7 @@ const (
|
||||
)
|
||||
|
||||
func hasImage(name string) bool {
|
||||
stamp := path.Join(config.State, name)
|
||||
stamp := path.Join(config.StateDir, name)
|
||||
if _, err := os.Stat(stamp); os.IsNotExist(err) {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user