CURRENTPATH=$(git rev-parse --show-toplevel)
export CURRENTPATH
-# Source env variables & functions
-# shellcheck source=./deploy.env
-source "$CURRENTPATH/deploy.env"
# shellcheck source=./functions.sh
source "$CURRENTPATH/functions.sh"
# ---------------------------------------------------------------------
check_prerequisites
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
+
# ---------------------------------------------------------------------
# bootstrap install prerequisites
# ---------------------------------------------------------------------
exit 1
fi
+ #-------------------------------------------------------------------------------
+ # Check is yq is installed
+ #-------------------------------------------------------------------------------
+ if ! command -v yq &> /dev/null; then
+ echo "ERROR : yq not found. Please install."
+ exit 1
+ fi
+
#-------------------------------------------------------------------------------
# Check is libvirt is installed
#-------------------------------------------------------------------------------