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:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user