-Remove hardcoded eth0 reference from xcatdsklspost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1404 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
3061a707a5
commit
06b609124f
@ -14,7 +14,7 @@ fi
|
||||
let SLI=$RANDOM%10
|
||||
sleep $SLI
|
||||
|
||||
SIP=`grep dhcp-server-identifier /var/lib/dhclient/dhclient-eth0.leases|tail -n 1|awk '{print $3}'|sed -e 's/;//'`
|
||||
SIP=`grep dhcp-server-identifier /var/lib/dhclient/dhclient-*.leases|tail -n 1|awk '{print $3}'|sed -e 's/;//'`
|
||||
if grep 'rw /rw tmpfs ' /proc/mounts >& /dev/null; then
|
||||
touch /var/lock/subsys/xcatmounts
|
||||
echo '#!/bin/bash' > /etc/rc6.d/K10xcatmounts
|
||||
|
Loading…
Reference in New Issue
Block a user