warn non-natty users

This commit is contained in:
Anthony Young 2011-09-15 20:58:31 -07:00
parent 036c9f8c50
commit e7335c26a4

View file

@ -22,6 +22,11 @@ set -o errexit
# an error. It is also useful for following allowing as the install occurs. # an error. It is also useful for following allowing as the install occurs.
set -o xtrace 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 # Important paths: ``DIR`` is where we are executing from and ``DEST`` is
# where we are installing openstack. # where we are installing openstack.
DIR=`pwd` DIR=`pwd`