2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 13:21:12 +00:00

update xCATreg

This commit is contained in:
caomengmeng
2016-05-24 04:58:44 -04:00
parent a8d0293b89
commit 3797cd99d8

View File

@@ -298,7 +298,11 @@ sub mn_install {
&runcmd("makedhcp -n");
&runcmd("makedns -n");
&runcmd("chdef $confkeys{$mn} status=");
&runcmd("lsdef -l $confkeys{$mn}|grep status");
if($?){
send_msg(0, "[$mn->$confkeys{$mn}][mn_install] Failed to change MN status in current control node");
return 1;
}
&runcmd("nodeset $confkeys{$mn} osimage=$osimage");
if( $arch =~ /x86_64/ || $arch =~ /ppc64le/ || $arch =~ /ppc64el/){