diff --git a/xCAT/postscripts/xcataixpost b/xCAT/postscripts/xcataixpost index 582cbb68a..9d630c476 100755 --- a/xCAT/postscripts/xcataixpost +++ b/xCAT/postscripts/xcataixpost @@ -447,6 +447,7 @@ sub updateflag { my $port = "3002"; my $servip = `host $servnode | awk '{print \$3}'`; chomp($servip); + $servip =~ s/,$//; # remove trailing comma my $remote = IO::Socket::INET->new( Proto => "tcp", PeerAddr => $servip, PeerPort => $port, Timeout => 0); my $try = 10;