At the end of the script I see this block:

if [ "$return_value" -eq "0" ]; then
   updateflag.awk $MASTER 3002 "installstatus booted"
else
   updateflag.awk $MASTER 3002 "installstatus failed"
fi

I always wondered why the status would be "status=failed" when I ran an 'lsdef' 
on a node.
I think the status is due to the block above. I don't see any other definition 
or use of "$return_value" in the script.

On the imaged nodes, this block is in /xcatpost/mypostscript.post
and it's generated by the "xcatinstallpost" postscript.

Can someone comment on this code block?

Present on both 
Version 2.8.5 (git commit 51b69940b6fc7b54fc2a1f89330e69c8f830a3fc, built Mon 
Sep  1 02:28:50 EDT 2014)
and
Version 2.8.4 (git commit ded873f998a889c91a169d3f870efdbebfb66243, built Thu 
May 29 23:32:02 EDT 2014)

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to