commit | 46dfda6e53a7671d0ce443671e0320c3b19ea340 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@onlab.us> | Thu Mar 02 05:40:08 2017 -0500 |
committer | Andy Bavier <andy@onlab.us> | Thu Mar 02 05:42:27 2017 -0500 |
tree | 72404dadcbbed44600f9abc82f5c99ce3e4dc05b | |
parent | f4e65222daea87d672b84c4b260f67422f45649a [diff] |
Fix for non-CloudLab nodes Change-Id: Ib279595f7e3760f01f5c605e1fb9c6a4725efd0a
diff --git a/scripts/cord-in-a-box.sh b/scripts/cord-in-a-box.sh index e2dc08c..583f235 100755 --- a/scripts/cord-in-a-box.sh +++ b/scripts/cord-in-a-box.sh
@@ -99,6 +99,9 @@ function cloudlab_setup() { + # Don't do anything if not a CloudLab node + [ ! -d /usr/local/etc/emulab ] && return + # The watchdog will sometimes reset groups, turn it off if [ -e /usr/local/etc/emulab/watchdog ] then