fix a bug caused by hostname validation rule
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14906 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
2a12e49888
commit
9d454c2d1b
@ -1551,7 +1551,9 @@ sub validate_node_entry{
|
||||
}
|
||||
|
||||
if (! xCAT::NetworkUtils->isValidHostname($node_name)){
|
||||
$errmsg .= "Node name: $node_name is invalid. You must use a valid node name.\n";
|
||||
unless ($node_name =~ /^TMPHOSTS/){
|
||||
$errmsg .= "Node name: $node_name is invalid. You must use a valid node name.\n";
|
||||
}
|
||||
}
|
||||
|
||||
# validate if node use FSP network
|
||||
|
Loading…
x
Reference in New Issue
Block a user