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
This commit is contained in:
		| @@ -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 <image>.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   | ||||
|   | ||||
		Reference in New Issue
	
	Block a user