Merge "Fixing some deploy options boolean case"
[apex.git] / ci / util.sh
old mode 100644 (file)
new mode 100755 (executable)
index 3e50d96..b262c20
@@ -3,9 +3,11 @@
 # @author Tim Rozet (trozet@redhat.com)
 
 CONFIG=${CONFIG:-'/var/opt/opnfv'}
+RESOURCES=${RESOURCES:-"$CONFIG/images"}
+LIB=${LIB:-"$CONFIG/lib"}
 VALID_CMDS="undercloud debug-stack -h --help"
 
-source $CONFIG/utility-functions.sh
+source $LIB/utility-functions.sh
 
 resolve_cmd() {
   local given=$1
@@ -21,7 +23,7 @@ resolve_cmd() {
 display_usage() {
   echo -e "Usage:\n$0 [arguments] \n"
   echo -e "   undercloud <user> : Connect to Undercloud VM as <user>\n"
-  echo -e "   debug_stack : Print parsed deployment failures to stdout \n"
+  echo -e "   debug-stack : Print parsed deployment failures to stdout \n"
 }
 
 ##translates the command line argument