From 936c9280ea8c94a5029382cb693370dcf655fb2c Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Tue, 13 Sep 2011 23:36:43 -0700 Subject: [PATCH] warn users to use natty --- build_lxc.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build_lxc.sh b/build_lxc.sh index c019d7e..54ee375 100755 --- a/build_lxc.sh +++ b/build_lxc.sh @@ -12,6 +12,11 @@ COPYENV=${COPYENV:-1} # Param string to pass to stack.sh. Like "EC2_DMZ_HOST=192.168.1.1 MYSQL_USER=nova" STACKSH_PARAMS=${STACKSH_PARAMS:-} +# 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 + # Install deps apt-get install lxc debootstrap