2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-24 12:10:25 +00:00

Remove trailing spaces in file xCAT-IBMhpc/share/xcat/IBMhpc/ping-all/create_ping_address_file

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 610064a998
commit 3a8232944f

View 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