Browse code

warn non-natty users

Anthony Young authored on 2011/09/16 12:58:31
Showing 1 changed files
... ...
@@ -22,6 +22,11 @@ set -o errexit
22 22
 # an error.  It is also useful for following allowing as the install occurs.
23 23
 set -o xtrace
24 24
 
25
+# Warn users who aren't on natty
26
+if ! grep -q natty /etc/lsb-release; then
27
+    echo "WARNING: this script has only been tested on natty"
28
+fi
29
+
25 30
 # Important paths: ``DIR`` is where we are executing from and ``DEST`` is 
26 31
 # where we are installing openstack.
27 32
 DIR=`pwd`