2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

Remove trailing spaces in file xCAT-server/lib/xcat/plugins/hosts.pm

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent d94d5ff007
commit f6b29d75e5

View File

@ -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: