Add prompt when running on device mapper
authorriking <rikingcoding@gmail.com>
Mon, 9 Feb 2015 21:57:14 +0000 (13:57 -0800)
committerriking <rikingcoding@gmail.com>
Mon, 9 Feb 2015 21:57:14 +0000 (13:57 -0800)
launcher

index f04fcab42fbb3bae85916c6fd2847830a4693009..3c918daa802a8c6c9c6020b129b50d040333aacf 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -94,6 +94,12 @@ prereqs() {
     echo "Your Docker installation is not using the recommended AuFS (union filesystem) and may be unstable."
     echo "If you are unable to bootstrap / stop your image please report the issue at:"
     echo "https://meta.discourse.org/t/discourse-docker-installation-without-aufs/15639"
+    echo ""
+    read -p "Continue without proper filesystem? [yN]" yn
+    case $yn in
+        [Yy]* ) break;;
+            * ) exit 1;;
+    esac
   fi
 
   # 3. running recommended docker version