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 271ef13dd7 termination and price scripts 2 years ago
.gitignore ignore swp 2 years ago
LICENSE Initial commit 2 years ago
README.md fix ssh hostname 2 years ago
TODO termination and price scripts 2 years ago
debconf-get-selections--installer.out debconf dumps post install 2 years ago
debconf-get-selections.out debconf dumps post install 2 years ago
device-x3.large-notes crufty notes etc 2 years ago
eqx-bootstrap-ethereum eth bootstrap notes 2 years ago
eqx-create-cluster ed25519 ssh keys works for debian installer netconsole 2 years ago
eqx-create-device spot price hard code 2 years ago
eqx-create-org Add/delete projects 2 years ago
eqx-create-project Add/delete projects 2 years ago
eqx-create-ssh-key ssh key not yet 2 years ago
eqx-delete-project get/delete projects etc 2 years ago
eqx-delete-project-devices get/delete projects etc 2 years ago
eqx-delete-project-devices-force get/delete projects etc 2 years ago
eqx-delete-project-force get/delete projects etc 2 years ago
eqx-get-capacity fix jq pretty breakage 2 years ago
eqx-get-deviceid deviceid info 2 years ago
eqx-get-deviceid-facility decruft 2 years ago
eqx-get-deviceid-hostname spots & hosts 2 years ago
eqx-get-deviceid-ip-private ssh, clusterssh configs 2 years ago
eqx-get-deviceid-ip-public ssh, clusterssh configs 2 years ago
eqx-get-deviceid-ipv6 get ips etc 2 years ago
eqx-get-deviceid-termination termination and price scripts 2 years ago
eqx-get-events fix jq pretty breakage 2 years ago
eqx-get-facilities fix jq pretty breakage 2 years ago
eqx-get-orgs fix jq pretty breakage 2 years ago
eqx-get-os fix jq pretty breakage 2 years ago
eqx-get-plans fix jq pretty breakage 2 years ago
eqx-get-project-clusterssh-config ssh, clusterssh configs 2 years ago
eqx-get-project-devices fix jq pretty breakage 2 years ago
eqx-get-project-devices-id get/delete projects etc 2 years ago
eqx-get-project-devices-name get/delete projects etc 2 years ago
eqx-get-project-names fix jq pretty breakage 2 years ago
eqx-get-project-ssh-config debian not root 2 years ago
eqx-get-project-termination termination and price scripts 2 years ago
eqx-get-project-uuid Add/delete projects 2 years ago
eqx-get-projects fix jq pretty breakage 2 years ago
eqx-get-ssh-key fix jq pretty breakage 2 years ago
eqx-get-user fix jq pretty breakage 2 years ago
eqx-market-spot-convert rename spot scripts 2 years ago
eqx-market-spot-convert-project rename spot scripts 2 years ago
eqx-market-spot-deviceid rename spot scripts 2 years ago
eqx-market-spot-history spot history, not quite 2 years ago
eqx-market-spot-lowest get list of prices, lowest first 2 years ago
eqx-market-spot-price spot price hard code 2 years ago
eqx-market-spot-price-deviceid termination and price scripts 2 years ago
eqx-market-spot-prices grab all spot prices 2 years ago
ipxe faster 2 years ago
ipxe-c3.small.x86 working preseeds for two devices 2 years ago
ipxe-install-debian-10 no late shell 2 years ago
ipxe-m3.large.x86 working preseeds for two devices 2 years ago
packet-cli.json Add/delete projects 2 years ago
preseed-base.cfg ed25519 ssh keys works for debian installer netconsole 2 years ago
preseed-c3.small.x86.cfg working preseeds for two devices 2 years ago
preseed-late.sh preseed-late.sh test 2 years ago
preseed-m3.large.x86.cfg working preseeds for two devices 2 years ago
preseed-minimal.cfg ok 2 years ago
preseed.cfg use deb.debian.org repo, not us 2 years 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:

Nodes to Build

  • Standard Debian 10

  • Standard Debian 11

  • Standard Debian Sid

  • Ethereum cluster

  • Distcc cluster

  • IPFS Cluster