add --non-interactive option to zypper to answer zypper install questions automatically.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2012-07-19 06:08:32 +00:00
parent bdd737a482
commit f5c785ba23

View File

@ -58,7 +58,7 @@ if [ $OS != "AIX" ]; then
# For SLES, assume zypper is available on the system running genimage
zypper -R $installroot ar file:$INSTALL_DIR/$UPDATES_DIR gpfs_updates
# zypper -R $installroot install gpfs.gplbin*
zypper -R $installroot update gpfs*
zypper --non-interactive -R $installroot update gpfs*
zypper -R $installroot rr gpfs_updates
else
# For Redhat, etc., assume yum is available on the system running genimage