mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 01:26:38 +00:00
[go-xcat] Ask the end user to use at least yum version 3.2.29-17
This commit is contained in:
parent
907f384f65
commit
ef6eeb5ff8
@ -2,7 +2,7 @@
|
||||
#
|
||||
# go-xcat - Install xCAT automatically.
|
||||
#
|
||||
# Version 1.0.11
|
||||
# Version 1.0.12
|
||||
#
|
||||
# Copyright (C) 2016 International Business Machines
|
||||
# Eclipse Public License, Version 1.0 (EPL-1.0)
|
||||
@ -1106,7 +1106,8 @@ function update_repo_yum()
|
||||
# Check if `yum' support `updateinfo' command.
|
||||
yum --help 2>/dev/null | grep -q "^updateinfo" >/dev/null 2>&1
|
||||
warn_if_bad "$?" "Lacking support of \`updateinfo' command for \`yum'."
|
||||
exit_if_bad "$?" "Install the \`yum-plugin-security' package and rerun."
|
||||
warn_if_bad "$?" "Please rerun after install package \`yum-plugin-security'."
|
||||
exit_if_bad "$?" "And please update package \`yum' to at least version 3.2.29-17."
|
||||
yum --nogpgcheck updateinfo
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user