From 23b7b1ccaf02a287d9a4a3c63dda3d059ccda41a Mon Sep 17 00:00:00 2001 From: sjing Date: Tue, 18 Oct 2011 01:23:53 +0000 Subject: [PATCH] The new_install script only prompts 1 time. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- .../share/xcat/IBMhpc/compilers/upc_license | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license b/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license index a1aa9feef..9f282e845 100644 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/compilers/upc_license @@ -16,14 +16,7 @@ if [ $OS != "AIX" ]; then if [ $NODESETSTATE == "install" ] || [ $NODESETSTATE == "boot" ]; then # Being run from a stateful install postscript if [ -n "$upc_script" ] ; then - # UPC prompts for a minimum of three questions - # on compute nodes and four on login nodes. - # You may need modify here accordingly. - (echo yes - sleep 5 - echo 1 - sleep 5 - echo yes) | $upc_script + echo 1 | $upc_script fi fi @@ -31,14 +24,7 @@ if [ $OS != "AIX" ]; then # Being called from .postinstall script # Assume we are on the same machine if [ -n "$upc_script" ] ; then - # UPC prompts for a minimum of three questions - # on compute nodes and four on login nodes. - # You may need modify here accordingly. - (echo yes - sleep 5 - echo 1 - sleep 5 - echo yes) | chroot $installroot /$upc_script + echo 1 | chroot $installroot /$upc_script fi fi fi