This repository contains automation to establish a development environment for Solo5 & kvm on both amd64 and aarch64 architectures. It makes use of the https://packet.net baremetal servers and https://terraform.io orchestration tooling.
-
Create an ssh key in top level project directory
ssh-keygen -t rsa -f packnet.pem
-
Follow the steps in the packet.net quickstart guide substituting the above key.
-
Generate a new API key using packet.net console api-keys
-
Save the "token" value of the API key into a file named terraform.tfvars
echo auth_token="<your token here>" > terraform.tfvars
-
Install terraform
brew install terraform
-
Check terraform execution without creating any resources
terraform plan
-
Create a server in packet.net and provision with the base tools needed for solo5 development.
terraform apply
-
Ssh onto your new box and do wonderful KVM/Solo5 development in a repeatable environment. NB: if the installation does not work perfectly the setup scripts are in /root and can be tweaked/executed manually.