diff --git a/xCAT-server/lib/xcat/plugins/hosts.pm b/xCAT-server/lib/xcat/plugins/hosts.pm index 6853146bd..1eb234ab6 100755 --- a/xCAT-server/lib/xcat/plugins/hosts.pm +++ b/xCAT-server/lib/xcat/plugins/hosts.pm @@ -165,7 +165,7 @@ sub build_line $longname = "$node.$domain"; } - # if shortname contains a dot then we have a bad syntax for name + # if shortname contains a dot then we have a bad syntax for name if ($shortname =~ /\./) { my $rsp; push @{ $rsp->{data} }, "Invalid short node name \'$shortname\'. The short node name may not contain a dot. The short node name is considered to be anything preceeding the network domain name in the fully qualified node name \'$longname\'.\n"; @@ -201,7 +201,7 @@ sub addotherinterfaces { $itf = $node . $itf; } - + #lookup the domain for the ip address #if failed, use the domain passed in my ($mydomain,$mynet)=getIPdomain($ip); @@ -573,7 +573,7 @@ sub writeout =head3 donics - Add the additional network interfaces for a list of nodes as + Add the additional network interfaces for a list of nodes as indicated in the nics table Arguments: