aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xoverlay/sys-cluster/beowulf-head/files/node-manager6
1 files changed, 3 insertions, 3 deletions
diff --git a/overlay/sys-cluster/beowulf-head/files/node-manager b/overlay/sys-cluster/beowulf-head/files/node-manager
index e77b764..1073946 100755
--- a/overlay/sys-cluster/beowulf-head/files/node-manager
+++ b/overlay/sys-cluster/beowulf-head/files/node-manager
@@ -63,15 +63,15 @@ HNAME=$4
if [[ $COMMAND == "del" ]]; then
run_modules $@
else
- # we background this since it performs a ping with a 1 second timeout
- # on a 256 node system, those seconds add up...
- if [[ $# -lt 5 ]]; then
+ if [[ -z $DNSMASQ_USER_CLASS0 ]]; then
# We ignore calls made with only 4 args as we're missing the processor count.
# This can be caused by dnsmasq reloading or dnsmasq not setting DNSMASQ_USER_CLASS0
# as the incoming request is either only a "renewal/rebind" request which doesnt trigger
# DHCPDISCOVER
exit 0
elif [[ $COMMAND == "old" ]]; then
+ # we background this since it performs a ping with a 1 second timeout
+ # on a 256 node system, those seconds add up...
old_node $@ &
else # COMMAND == add
run_modules $@