- Get an Equinix Metal API account and API key
- Downlaod metal-cli
- Fork metal-cli to your own github
- Disable the actions on your fork for now till we're ready for them. :)
- Deploy a new machine on Equinix Metal
- On stream we'll use the GUI, but the CLI will also work
- metal device create -p $METAL_PROJECT_ID -P c3.medium.x86 -m da -H github-runner-test -O ubuntu_22_04
- Requirements for runners
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"key":"bGljZW5zZV9rZXk9cHJvZHVjdGlvbgo="} |
- Deploy GPU instance, g2.large.x86 seems to be all we have. Here's a cloud-init
- The GPU driver may need bumps as the cuda required by the stable diffusion project increases.
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install grub2 python-is-python3 nvidia-driver-515-server python3-venv -y
useradd cprivitere -m -s /usr/bin/bash