change the warning message for nodeadd,mkdef,chdef add node name with capitcal letter
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1de946b093
commit
55530c5ae0
@ -903,7 +903,7 @@ sub defmk
|
||||
if ($invalidnodename) {
|
||||
$invalidnodename =~ s/,//;
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] = "The node name \'$invalidnodename\' has capital which can not be resolved correctly by dns server. Please don't use the capital in the node name which need to be installed Operating System.";
|
||||
$rsp->{data}->[0] = "The node name \'$invalidnodename\' contains capital letters which may not be resolved correctly by the dns server.";
|
||||
xCAT::MsgUtils->message("W", $rsp, $::callback);
|
||||
}
|
||||
}
|
||||
@ -2123,7 +2123,7 @@ sub defch
|
||||
if ($invalidnodename) {
|
||||
$invalidnodename =~ s/,//;
|
||||
my $rsp;
|
||||
$rsp->{data}->[0] = "The node name \'$invalidnodename\' has capital which can not be resolved correctly by dns server. Please don't use the capital in the node name which need to be installed Operating System.";
|
||||
$rsp->{data}->[0] = "The node name \'$invalidnodename\' contains capital letters which may not be resolved correctly by the dns server.";
|
||||
xCAT::MsgUtils->message("W", $rsp, $::callback);
|
||||
}
|
||||
|
||||
|
@ -787,7 +787,7 @@ sub nodech
|
||||
}
|
||||
if ($invalidnodename) {
|
||||
$invalidnodename =~ s/,//;
|
||||
$callback->( {warning => "The node name \'$invalidnodename\' has capital which can not be resolved correctly by dns server. Please don't use the capital in the node name which need to be installed Operating System.\n"} );
|
||||
$callback->( {warning => "The node name \'$invalidnodename\' contains capital letters which may not be resolved correctly by the dns server."} );
|
||||
}
|
||||
} elsif ($groupmode) {
|
||||
@groups = split /,/, shift @ARGV;
|
||||
|
Loading…
Reference in New Issue
Block a user