diff --git a/facts.sh b/facts.sh index f13f497..bb0dc26 100755 --- a/facts.sh +++ b/facts.sh @@ -10,6 +10,8 @@ source utils/color source utils/logger ####################################################### +FACTS_FOLDER="$(pwd)/facts" + info "Get token for Proxmox" PROXMOX_TOKEN=$(curl -s --insecure -d "username=${PROXMOX_USER}@pam&password=${PROXMOX_PASSWORD}" "${PROXMOX_HOST}/api2/json/access/ticket" | jq --raw-output '.data.ticket')