summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/congress/joid/install_congress_1.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/congress/joid/install_congress_1.sh b/components/congress/joid/install_congress_1.sh
index f93a1f9..7bf45af 100644
--- a/components/congress/joid/install_congress_1.sh
+++ b/components/congress/joid/install_congress_1.sh
@@ -22,6 +22,11 @@
# source ~/git/copper/components/congress/joid/install_congress_1.sh <controller_hostname>
# <controller_hostname> is the name of the controller node in MAAS.
+if [ $# -lt 1 ]; then
+ echo 1>&2 "$0: not enough arguments"
+ return 2
+fi
+
set -x
# Create the congress container