Browse Source

Add FACTS_PATH in script

master
Dryusdan 2 years ago
parent
commit
4c60715c0c
  1. 2
      facts.sh

2
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')

Loading…
Cancel
Save