mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Display packages and version before go-xcat install
This commit is contained in:
parent
99e452e5b3
commit
d303380054
@ -2,7 +2,7 @@
|
||||
#
|
||||
# go-xcat - Install xCAT automatically.
|
||||
#
|
||||
# Version 1.0.44
|
||||
# Version 1.0.45
|
||||
#
|
||||
# Copyright (C) 2016 - 2019 International Business Machines
|
||||
# Eclipse Public License, Version 1.0 (EPL-1.0)
|
||||
@ -27,6 +27,8 @@
|
||||
# - Added conserver-xcat to uninstall list
|
||||
# 2019-10-23 Mark Gurevich <gurevich@us.ibm.com>
|
||||
# - Display a list of packages that could not be uninstalled
|
||||
# 2019-11-05 Mark Gurevich <gurevich@us.ibm.com>
|
||||
# - Display a list of packages that will be installed before "Continue?"
|
||||
#
|
||||
|
||||
function usage()
|
||||
@ -2156,6 +2158,7 @@ case "${GO_XCAT_ACTION}" in
|
||||
;;
|
||||
"install"|"update")
|
||||
GO_XCAT_INSTALLER="${GO_XCAT_ACTION}_xcat"
|
||||
list_xcat_packages
|
||||
ask_to_continue "${GO_XCAT_YES[0]}" "xCAT is going to be ${GO_XCAT_ACTION/%e/}ed."
|
||||
# Use `-y' here. Since the STDOUT is redirected.
|
||||
# `yum' does not display the prompt message properly when
|
||||
|
Loading…
x
Reference in New Issue
Block a user