From 4e4e10d1f823ac21c90af71933c3c97bd4033b35 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 15 Jul 2013 14:09:19 +0000 Subject: [PATCH] Rebuild discovery payload every cycle. Since some things like LLDP data might trickle in, enable gather to be gathered as it changes. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16979 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-genesis-scripts/bin/dodiscovery | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/bin/dodiscovery b/xCAT-genesis-scripts/bin/dodiscovery index d888d13f5..2dd908c89 100755 --- a/xCAT-genesis-scripts/bin/dodiscovery +++ b/xCAT-genesis-scripts/bin/dodiscovery @@ -50,6 +50,7 @@ done #time to make our packet... +while [ ! -r /restart ]; do MTM=unknown SERIAL=unknown ARCH=unknown @@ -192,7 +193,6 @@ mv /tmp/discopacket.new /tmp/discopacket rm -f /tmp/discopacket.gz gzip -9 /tmp/discopacket -while [ ! -r /restart ]; do if [ ! -z "$XCATMASTER" ]; then (cat /tmp/discopacket.gz | udpcat.awk $XCATMASTER $XCATPORT ) & fi