From d3c57e148e6e97b48713651c20ad39818b9b11b2 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 28 Dec 2015 18:00:10 +1100 Subject: [PATCH] skip prereqs also skips resource checks --- launcher | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/launcher b/launcher index c5cfe2a..585864e 100755 --- a/launcher +++ b/launcher @@ -63,7 +63,7 @@ usage () { echo " cleanup: Remove all containers that have stopped for > 24 hours" echo echo "Options:" - echo " --skip-prereqs Don't check prerequisites" + echo " --skip-prereqs Don't check prerequisites or resource requirements" echo " --docker-args Extra arguments to pass when running docker" exit 1 } @@ -466,7 +466,9 @@ run_start(){ run_bootstrap(){ - check_resources + if [ "$opt" != "--skip-prereqs" ] ; then + check_resources + fi host_run -- 2.25.1