From e7335c26a48d9a519e8bc83f30ca8c4c653e98e3 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Thu, 15 Sep 2011 20:58:31 -0700 Subject: [PATCH] warn non-natty users --- stack.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stack.sh b/stack.sh index 86c5cc0..13b750a 100755 --- a/stack.sh +++ b/stack.sh @@ -22,6 +22,11 @@ set -o errexit # an error. It is also useful for following allowing as the install occurs. set -o xtrace +# Warn users who aren't on natty +if ! grep -q natty /etc/lsb-release; then + echo "WARNING: this script has only been tested on natty" +fi + # Important paths: ``DIR`` is where we are executing from and ``DEST`` is # where we are installing openstack. DIR=`pwd`