mirror of
https://github.com/rancher/os.git
synced 2025-09-03 15:54:24 +00:00
Add prompt message to ros os upgrade
This commit is contained in:
@@ -55,3 +55,11 @@ func symLinkEngineBinary(version string) []symlink {
|
||||
}
|
||||
return baseSymlink
|
||||
}
|
||||
|
||||
func checkGlobalCfg() bool {
|
||||
_, err := os.Stat("/proc/1/root/boot/global.cfg")
|
||||
if err == nil || os.IsExist(err) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user