diff --git a/xCAT-nbroot/overlay/bin/dodestiny b/xCAT-nbroot/overlay/bin/dodestiny index b2903ac05..66946e897 100755 --- a/xCAT-nbroot/overlay/bin/dodestiny +++ b/xCAT-nbroot/overlay/bin/dodestiny @@ -77,7 +77,9 @@ while :; do then #if usleep succeeded, that means it wasn't killed and therefore, no answer yet killall udpcat.awk #reap hung ones - cat /tmp/discout | udpcat.awk `cat /tmp/dhcpserver` $XCATPORT & + for dhcps in `cat /tmp/dhcpserver`; do + cat /tmp/discout | udpcat.awk $dhcps $XCATPORT & + done usleep 8000000 fi killall udpcat.awk #reap hung ones diff --git a/xCAT-nbroot/overlay/usr/share/udhcpc/default.script b/xCAT-nbroot/overlay/usr/share/udhcpc/default.script index 6fff4b6ab..a5cf8a866 100755 --- a/xCAT-nbroot/overlay/usr/share/udhcpc/default.script +++ b/xCAT-nbroot/overlay/usr/share/udhcpc/default.script @@ -5,7 +5,7 @@ deconfig) /sbin/ifconfig $interface 0.0.0.0 ;; bound|renew) - echo $siaddr > /tmp/dhcpserver + echo $siaddr >> /tmp/dhcpserver /sbin/ifconfig $interface $ip netmask $subnet if [ -n "$router" ] ; then echo "deleting routers"