mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-31 10:06:39 +00:00
update logs in the deployment phase (#1888)
This commit is contained in:
parent
b4f792b44c
commit
0edc2810d1
@ -893,7 +893,7 @@ fi
|
||||
if [ \"\$return_value\" -eq \"0\" ]; then
|
||||
msgutil_r \$MASTER_IP \"debug\" \"node booted successfully,reporting status...\" \"/var/log/xcat/xcat.log\"
|
||||
updateflag.awk \$MASTER 3002 \"installstatus booted\"
|
||||
logger -t xcat.provision -p local4.info \"provision completed.(\$NODE)\"
|
||||
msgutil_r \$MASTER_IP \"info\" \"provision completed.(\$NODE)\" \"/var/log/xcat/xcat.log\"
|
||||
else
|
||||
msgutil_r \$MASTER_IP \"debug\" \"node boot failed,reporting status...\" \"/var/log/xcat/xcat.log\"
|
||||
updateflag.awk \$MASTER 3002 \"installstatus failed\"
|
||||
|
@ -96,7 +96,7 @@ if [ \"\$return_value\" -eq \"0\" ]; then
|
||||
msgutil_r \"\$MASTER_IP\" \"info\" \"node booted, reporting status...\" \"/var/log/xcat/xcat.log\"
|
||||
fi
|
||||
updateflag.awk \$MASTER 3002 \"installstatus booted\"
|
||||
logger -t xcat.provision -p local4.info \"provision completed.(\$NODE)\"
|
||||
msgutil_r \$MASTER_IP \"info\" \"provision completed.(\$NODE)\" \"/var/log/xcat/xcat.log\"
|
||||
else
|
||||
if [ \"\$XCATDEBUGMODE\" = \"1\" ] || [ \"\$XCATDEBUGMODE\" = \"2\" ]; then
|
||||
msgutil_r \"\$MASTER_IP\" \"info\" \"node boot failed, reporting status...\" \"/var/log/xcat/xcat.log\"
|
||||
|
Loading…
x
Reference in New Issue
Block a user