Commit 9eb51878 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Pass through batchmode flag to remotenodeupdate(). The idea is to cut

down on the amount of password file churning by adding new accounts
from the watchdog, but not updating mundane stuff like the gecos and
group list, except via the explicit push from emulab. Eventually this
needs a more complex solution to avoid more work than necessary,
probably by some batch queuing system that handles updates to nodes
that are down.
parent a9e37d79
......@@ -128,7 +128,7 @@ while (flock(LOCK, LOCK_EX|LOCK_NB) == 0) {
sleep(5);
}
remotenodeupdate();
remotenodeupdate($batchmode);
close(LOCK);
exit(0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment