Stop CloudLab watchdog from resetting groups
Change-Id: I3f081591781e21e5f02cb14e76d1c3d510104209
diff --git a/scripts/cord-in-a-box.sh b/scripts/cord-in-a-box.sh
index 0d22dd4..b018f22 100755
--- a/scripts/cord-in-a-box.sh
+++ b/scripts/cord-in-a-box.sh
@@ -69,6 +69,14 @@
}
function cloudlab_setup() {
+
+ # The watchdog will sometimes reset groups, turn it off
+ if [ -e /usr/local/etc/emulab/watchdog ]
+ then
+ sudo /usr/bin/perl -w /usr/local/etc/emulab/watchdog stop
+ sudo mv /usr/local/etc/emulab/watchdog /usr/local/etc/emulab/watchdog-disabled
+ fi
+
if [ -e /usr/testbed/bin/mkextrafs ]
then
sudo mkdir -p /mnt/extra