Commit ac4b949c authored by Dan Reading's avatar Dan Reading

add nodetype to log messages

parent ecb880f7
...@@ -67,14 +67,14 @@ postprocessing() ...@@ -67,14 +67,14 @@ postprocessing()
# note what kernel we are running # note what kernel we are running
printf "# KERNEL %s\n" "$(uname -svrm)" >> /tmp/nodecheck.log.tb.new printf "# KERNEL %s\n" "$(uname -svrm)" >> /tmp/nodecheck.log.tb.new
# add which mode we running as # add which mode we running as
printf "# ismfs=%s %s\n" "$mfsmode" "$(getfromtb TESTINFO)" >> /tmp/nodecheck.log.tb.new printf "# ismfs=%s %s nodetype %s \n" "$mfsmode" "$(getfromtb TESTINFO)" "$nodetype" >> /tmp/nodecheck.log.tb.new
# print the full listng of found inventory # print the full listng of found inventory
{ printhwinv { printhwinv
} > /tmp/nodecheck.log.inv } > /tmp/nodecheck.log.inv
printf "# KERNEL %s\n" "$(uname -svrm)" >> /tmp/nodecheck.log.inv printf "# KERNEL %s\n" "$(uname -svrm)" >> /tmp/nodecheck.log.inv
# add which mode we running as # add which mode we running as
printf "# ismfs=%s %s\n" "$mfsmode" "$(getfromtb TESTINFO)" >> /tmp/nodecheck.log.inv printf "# ismfs=%s %s nodetype %s \n" "$mfsmode" "$(getfromtb TESTINFO)" "$nodetype" >> /tmp/nodecheck.log.inv
# make sure projdir is available # make sure projdir is available
if [ ! -d ${projdir} ] ; then if [ ! -d ${projdir} ] ; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment