defect 3011593
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6382 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
316e6828e8
commit
ad1c0fcfb3
@ -225,11 +225,11 @@ sub mknetboot
|
||||
print $menush "#!/bin/sh -x\n";
|
||||
print $menush 'LOG_PATH=/bomc/${hostname}',"\n";
|
||||
print $menush 'mkdir -p $LOG_PATH',"\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/error.log',"\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/bomc.error',"\n";
|
||||
print $menush 'LOG_FILE=/bomc/${hostname}/bomc.log',"\n";
|
||||
print $menush '${UXSPI_BINARY_PATH} update --unattended --firmware -l ${UXSPI_BOOTABLE} --timeout=${UXSPI_TIMEOUT} >${LOG_FILE} 2>${ERROR_FILE}'."\n";
|
||||
print $menush 'DIR=`dirname $0`'."\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/asu_error.log',"\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/asu.error',"\n";
|
||||
print $menush 'LOG_FILE=/bomc/${hostname}/asu.log',"\n";
|
||||
print $menush 'if [ ${cmos_file} != "" ]; then',"\n";
|
||||
print $menush " $asu",' batch ${cmos_file} >${LOG_FILE} 2>${ERROR_FILE}', "\n";
|
||||
@ -273,7 +273,7 @@ ENDOFAWK
|
||||
if (/^exit 0/) { #the exit line, hijack this
|
||||
print $menush 'DIR=`dirname $0`'."\n";
|
||||
print $menush 'mkdir -p $LOG_PATH',"\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/asu_error.log',"\n";
|
||||
print $menush 'ERROR_FILE=/bomc/${hostname}/asu.error',"\n";
|
||||
print $menush 'LOG_FILE=/bomc/${hostname}/asu.log',"\n";
|
||||
print $menush 'if [ ${cmos_file} != "" ]; then',"\n";
|
||||
print $menush " $asu",' batch ${cmos_file} >${LOG_FILE} 2>${ERROR_FILE}', "\n";
|
||||
|
Loading…
Reference in New Issue
Block a user