From 06b609124f8a70f874d755243512f6f6b0c1a6a4 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Wed, 14 May 2008 23:18:10 +0000 Subject: [PATCH] -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 --- xCAT/postscripts/xcatdsklspost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/xcatdsklspost b/xCAT/postscripts/xcatdsklspost index 84742bb8a..440dc4069 100755 --- a/xCAT/postscripts/xcatdsklspost +++ b/xCAT/postscripts/xcatdsklspost @@ -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