#!/usr/bin/env bash
-set -ex
+set -eux -o pipefail
LIBDIR="$(dirname "$PWD")"
python-netaddr \
python-openstackclient \
unzip \
- genisoimage
+ genisoimage \
+ whois
if [ "$1" == "offline" ]; then
pip install --no-index
#install_kubernetes_packages $1
}
-if ["$1" == "-o"]; then
+if [ "$#" -eq 0 ]; then
+ install online
+elif [ "$1" == "-o" ]; then
install offline
- exit 0
+else
+ exit 1
fi
-
-install