Not all distros include a symlink from euca-describe-group to euca-describe-groups
Change-Id: Iaba71c36b405d2891aebdb45c1b9fd84853988f5
diff --git a/exercises/euca.sh b/exercises/euca.sh
index e569196..834e4ec 100755
--- a/exercises/euca.sh
+++ b/exercises/euca.sh
@@ -39,9 +39,9 @@
SECGROUP=euca_secgroup
# Add a secgroup
-if ! euca-describe-group | grep -q $SECGROUP; then
+if ! euca-describe-groups | grep -q $SECGROUP; then
euca-add-group -d "$SECGROUP description" $SECGROUP
- if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! euca-describe-group | grep -q $SECGROUP; do sleep 1; done"; then
+ if ! timeout $ASSOCIATE_TIMEOUT sh -c "while ! euca-describe-groups | grep -q $SECGROUP; do sleep 1; done"; then
echo "Security group not created"
exit 1
fi