From f6b29d75e5a0a391df1ebd66a5a7b01a50f05a69 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-server/lib/xcat/plugins/hosts.pm --- xCAT-server/lib/xcat/plugins/hosts.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: