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.
Jeff Moe a0b29613c5 preseed notes 12 months ago
.gitignore ignore swp 1 year ago
LICENSE Initial commit 1 year ago
README.md preseed notes 12 months ago
debconf-get-selections--installer.out debconf dumps post install 1 year ago
debconf-get-selections.out debconf dumps post install 1 year ago
eqx-create-cluster linking to raw ipxe will work better.... 12 months ago
eqx-create-device linking to raw ipxe will work better.... 12 months ago
eqx-create-org Add/delete projects 1 year ago
eqx-create-project Add/delete projects 1 year ago
eqx-delete-project get/delete projects etc 1 year ago
eqx-delete-project-devices get/delete projects etc 1 year ago
eqx-delete-project-devices-force get/delete projects etc 1 year ago
eqx-delete-project-force get/delete projects etc 1 year ago
eqx-get-capacity make eqx-get-* more pretty with jq 12 months ago
eqx-get-deviceid-hostname ssh, clusterssh configs 1 year ago
eqx-get-deviceid-ip-private ssh, clusterssh configs 1 year ago
eqx-get-deviceid-ip-public ssh, clusterssh configs 1 year ago
eqx-get-deviceid-ipv6 get ips etc 1 year ago
eqx-get-events make eqx-get-* more pretty with jq 12 months ago
eqx-get-facilities make eqx-get-* more pretty with jq 12 months ago
eqx-get-orgs make eqx-get-* more pretty with jq 12 months ago
eqx-get-os make eqx-get-* more pretty with jq 12 months ago
eqx-get-plans make eqx-get-* more pretty with jq 12 months ago
eqx-get-project-clusterssh-config ssh, clusterssh configs 1 year ago
eqx-get-project-devices make eqx-get-* more pretty with jq 12 months ago
eqx-get-project-devices-id get/delete projects etc 1 year ago
eqx-get-project-devices-name get/delete projects etc 1 year ago
eqx-get-project-names ssh, clusterssh configs 1 year ago
eqx-get-project-ssh-config debian not root 1 year ago
eqx-get-project-uuid Add/delete projects 1 year ago
eqx-get-projects make eqx-get-* more pretty with jq 12 months ago
eqx-get-ssh-key make eqx-get-* more pretty with jq 12 months ago
eqx-get-user make eqx-get-* more pretty with jq 12 months ago
eqx-market-spot-prices prices, ipxe 1 year ago
ipxe faster 1 year ago
ipxe-install-debian-10 https SSL fail in ipxe with base-url ? 12 months ago
packet-cli.json Add/delete projects 1 year ago
preseed-base.cfg hashes 1 year ago
preseed-minimal.cfg ok minimal buster 1 year ago
preseed.cfg rm million crufty comments from preseed 12 months ago

README.md

eqx

This repository contains an archive of crufty scriptlets to deploy servers on Equinix's bare metal network.

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

Configure server at Equinix, set "iPXE Script URL" to:

https://code.forksand.com/forksand/eqx/raw/branch/master/ipxe-install-debian-10

Preseed

The key installation file is preseed.cfg. Debian has a list of options here:

Other preseed.cfg docs: