ranguli / ops

homelab stuff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prerequisites

Any Linux distribution should make for a suitable hypervisor / VM host as long as it can run the following:

  • MinIO
  • QEMU/KVM
  • Libvirt

Infrastructure can be built and deployed from any development machine as long as it can run:

  • Terraform
  • Packer
  • QEMU/KVM
  • MinIO client (mc)

Setup

export MINIO_ACCESS_KEY=1234
export MINIO_SECRET_KEY=1234
export MINIO_BUCKET_NAME=remote-state

export LIBVIRT_DEFAULT_URI="qemu+ssh://gentoo@192.168.2.24/system"
terraform init -backend-config="access_key=$MINIO_ACCESS_KEY" -backend-config="secret_key=$MINIO_SECRET_KEY" -backend-config="bucket=$MINIO_BUCKET_NAME"

terraform plan
terraform apply

About

homelab stuff


Languages

Language:HCL 100.0%