Scripts to use Equinix Bare Metal API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
root 979afcd955
ignore swp
4 years ago
.gitignore ignore swp 4 years ago
LICENSE Initial commit 4 years ago
README.md Add/delete projects 4 years ago
eqx-create-device create device etc 4 years ago
eqx-create-org Add/delete projects 4 years ago
eqx-create-project Add/delete projects 4 years ago
eqx-delete-project get/delete projects etc 4 years ago
eqx-delete-project-devices get/delete projects etc 4 years ago
eqx-delete-project-devices-force get/delete projects etc 4 years ago
eqx-delete-project-force get/delete projects etc 4 years ago
eqx-get-capacity eqx 4 years ago
eqx-get-events eqx 4 years ago
eqx-get-facilities eqx 4 years ago
eqx-get-orgs eqx 4 years ago
eqx-get-os eqx 4 years ago
eqx-get-plans eqx 4 years ago
eqx-get-project-devices get/delete projects etc 4 years ago
eqx-get-project-devices-id get/delete projects etc 4 years ago
eqx-get-project-devices-name get/delete projects etc 4 years ago
eqx-get-project-names create device etc 4 years ago
eqx-get-project-uuid Add/delete projects 4 years ago
eqx-get-projects eqx 4 years ago
eqx-get-ssh-key eqx 4 years ago
eqx-get-user eqx 4 years ago
packet-cli.json Add/delete projects 4 years ago

README.md

eqx

Token

export PACKET_TOKEN=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Or

cat $HOME/.packet-cli.json

{ "token": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" }

Dependencies

apt install jq

git clone https://github.com/packethost/packet-cli

mkdir -p ~/bin wget -O ~/bin/packet https://github.com/packethost/packet-cli/releases/download/0.1.1/packet-linux-amd64 chmod +x ~/bin/packet