2
0
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:
penguhyang 2016-09-23 16:00:27 +08:00 committed by yangsong
parent b4f792b44c
commit 0edc2810d1
2 changed files with 2 additions and 2 deletions

View File

@ -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\"

View File

@ -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\"