[ Agent ] [ CMII ] - 完成工具类的代码
This commit is contained in:
@@ -1244,7 +1244,7 @@ func (op *AgentOsOperator) installNFSServerOfflineExec() (bool, []string) {
|
||||
}
|
||||
}
|
||||
|
||||
// check for version
|
||||
// check for the version
|
||||
executor, i := HardCodeCommandExecutor("grep PRETTY_NAME /etc/os-release | cut -d= -f2 | tr -d '\"' | sed 's/ /-/g'")
|
||||
if !executor {
|
||||
return false, append(i, "[installNFSServerOfflineExec]- get offline package name suffix error !")
|
||||
|
||||
Reference in New Issue
Block a user