From 3a8232944feed54c9d6af8f6b861b25867dcd673 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-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file --- .../share/xcat/IBMhpc/ping-all/create_ping_address_file | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xCAT-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file b/xCAT-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file index b447dce2d..535df34c0 100755 --- a/xCAT-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file +++ b/xCAT-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file @@ -1,10 +1,10 @@ #!/bin/ksh if [[ -n $1 ]] then interface=$1 -else +else interface=ml0 fi -xdsh lpar -v "/usr/sbin/ifconfig $interface | grep inet | cut -d':' -f2 | cut -d' ' -f2 | head -2 " | sort -n | tee ping_address_file +xdsh lpar -v "/usr/sbin/ifconfig $interface | grep inet | cut -d':' -f2 | cut -d' ' -f2 | head -2 " | sort -n | tee ping_address_file